The GabrielService.log files contains details about the activity going on while Gabriel is running. These files are helpful when troubleshooting issues that may occur during operation. Log files are automatically created when Gabriel is started and are located in the users’s home directory under the “.gabriel” folder.
File Location #
- On Windows: C:\Users\user\.gabriel\logs
- On Linux: /home/gabriel/.gabriel/logs/
- On macOS: /Users/user/.gabriel/logs/
You will see several log files in these directories. GabrielService.log will have the most current activity. GabrielService.log1…GabrielService.log4 will contain older activity. Log files automatically roll based on their size. There will be a max of 4 log files at a time.
If you are not sure where your log file is, you can find it using the Linux command:
sudo find /home/ -name GabrielService.log
Log Levels #
The log level is used to control how little or how much logging happens during operation.
There are 6 log levels you can change the log level to, though we recommend using “ERR”.
- INFO – most logging
- NONE – least logging
You will see log entries printed out at the “ERR” log level, but this is not a sign of a problem.
You can change the log level by editing the HKCU_Registry.ini file (also located in the ‘.gabriel’ folder) and changing the “LogLevel” to one of the supported levels. This will require a Gabriel restart. On Linux, you can change the log level without restarting using the Gabriel the command line interface (CLI), gabriel_cmd.
For example, to change the log level to INFO, run the following command:
gabriel_cmd loglevel --level INFO
Log level set to: INFO