Skip to content

Commit

Permalink
GITBOOK-335: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewwww authored and gitbook-bot committed Jul 30, 2024
1 parent 6d59ad8 commit 5ec1427
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions gitbook/troubleshooting/locate-the-error-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ To identify the cause of the problem, refer to the log file for the detailed err

{% tabs %}
{% tab title="Windows" %}
Go to the directory where you click `Crynux Node.exe`, there is a sub directory with name `logs`, the log file can be found inside with name `crynux-server.log`.
Go to the directory where you click `Crynux Node.exe`, there is a sub directory with name `data`, and inside `data` folder there is a folder with name `logs`, all the log files can be found inside.
{% endtab %}

{% tab title="Mac" %}
Open a Finder window, go to the `Applications` folder, right click on the `Crynux Node.app` and select `Show Package Content`, then go to the folder `Contents/Resources/logs`, and the log file is located inside as `crynux-server.log`.
Open a Finder window, go to the `Applications` folder, right click on the `Crynux Node.app` and select `Show Package Content`, then go to the folder `Contents/Resources/data/logs`, and the log files are located inside.
{% endtab %}

{% tab title="Docker" %}
Expand Down Expand Up @@ -49,18 +49,28 @@ $ docker logs {container_name} >> crynux.log

### Find the log file inside the container

The log file can also be found under `/app/logs/crynux-server.log` inside the container.
The log file can also be found under `/app/logs` inside the container.
{% endtab %}

{% tab title="Linux" %}
If you downloaded the binary release version of Linux server, the log file `crynux-server.log` can be found in the `logs` folder of the project root.
If you downloaded the binary release version of Linux server, the log files can be found in the `logs` folder of the project root.
{% endtab %}

{% tab title="Source Code" %}
The log file is located at `logs/crynux-server.log`, relative to the project root folder.
{% endtab %}
{% endtabs %}

There are several log files inside the `log` folder. The content of each file is described below:

* `crynux-server.log`: Node manager related logs. 
* `crynux-worker.log`: Task executor related logs.
* `crynux_worker_inference.log`: Task execution logs.
* `crynux_worker_prefetch.log`: Model downloading logs.
* `main.log`: GUI related logs. Not available on Docker versions.

Most of the error messages could be identified in the first two log files: `crynux-server.log` and `crynux-worker.log`.

## Locate the error message

Open the log file in a text editor. Navigate to the time where you encountered the error, and find the lines with `[ERROR]`, which is usually the error message. And there will be a stack trace around the error message. **If you are asking for help, remember to provide the full stack trace from the first line to the last**.
Expand Down

0 comments on commit 5ec1427

Please sign in to comment.