Maestral will log its activity for debugging purposes. Those logs are not uploaded or shared with anyone but are saved to your drive. The exact location depends on your platform:
- Linux fallback:
Log files are rotated before exceeding 20 MB and there will be at most two log files, with the oldest file being replaced on-demand.
By default, the log level is set to “INFO” and no sensitive information such as file
names or folder structures are saved to the log. You can however reduce the log level to
“DEBUG” for more detailed information on individual files and conflict resolution.
Logging must be configured through the
command and any changes will take effect immediately.
Note: Setting the log level to DEBUG will generate detailed logs on sync activity including potentially private information such as file names and modification times. Some versions of Maestral may also print environment variables to the logs. Use a log level of INFO or higher to keep the log free of any private information.
Maestral plays nicely with systemd. This means that it will notify systemd of its status
while it is running and send log output to the journal. The latter requires the
installation of python-systemd which is not
a default requirement. If you install Maestral with the syslog option
maestral[syslog], this dependency will be automatically installed for you. Note however
that a pip installation will build python-systemd from source and requires gcc, systemd
headers and python headers and may therefore fail on some systems. It is recommended to
install python-systemd from your distribution’s package manager instead:
dnf install python3-systemd
apt-get install python3-systemd