-
Notifications
You must be signed in to change notification settings - Fork 0
How to get information from the Galaxy logs
The "galaxy.log" file is no longer used for logging. Instead, Galaxy writes log entries directly to the systemd journal.
To see the log, log in to the server with SSH and run the following command (you may have to do this as sudo
):
journalctl -u <service-name>
The service-name should be one of the following Galaxy services:
-
galaxy-gunicorn
- Web handlers -
galaxy-celery
- Celery is a distributed task queue performing small tasks that are not tool jobs -
galaxy-celery-beat
- Celery's scheduler -
galaxy-tusd
- TusD is used for file uploads -
galaxy-handler@N
- Job handlers for tool jobs. N is an integer between 0 and 1.
You can navigate the log using space bar to show the next page, arrow keys to move up or down one line, and PageUp/PageDown to move a full page up or down. Press "Q" to exit the viewer.
You can also show the last page of the log directly with the command
journalctl -u <service-name> -e
This will only show a limited number of lines, but you can ask for more with the -n
option.
journalctl -u <service-name> -e -n <number of lines to include>
"Follow mode" will display new lines dynamically as they are added to the log
journalctl -u <service-name> -f
The logs for the NGINX web proxy are written to the following files (older logs can be found in the same directory)
- /var/log/nginx/access.log
- /var/log/nginx/error.log