Update usage.md

* Update how to enable logging
This commit is contained in:
abraunegg 2024-04-01 06:07:48 +11:00
parent 8801344209
commit a28fe92119

View file

@ -507,7 +507,7 @@ Are you sure you want to proceed with --force-sync [Y/N]
To proceed with `--force-sync`, you must type 'y' or 'Y' to allow the application to continue.
### Enabling the Client Activity Log
When running onedrive, all actions can be logged to a separate log file. This can be enabled by using the `--enable-logging` flag.
When running onedrive, all actions can be logged to a separate log file. This can be enabled by using the `--enable-logging` flag or by adding `enable_logging = "true"` to your 'config' file.
By default, log files will be written to `/var/log/onedrive/` and will be in the format of `%username%.onedrive.log`, where `%username%` represents the user who ran the client to allow easy sorting of user to client activity log.