mirror of
https://github.com/rclone/rclone.git
synced 2026-01-07 19:13:19 +00:00
log: Add --log-format flag - fixes #2424
This commit is contained in:
@@ -549,6 +549,10 @@ Note that if you are using the `logrotate` program to manage rclone's
|
||||
logs, then you should use the `copytruncate` option as rclone doesn't
|
||||
have a signal to rotate logs.
|
||||
|
||||
### --log-format LIST ###
|
||||
|
||||
Comma separated list of log format options. `date`, `time`, `microseconds`, `longfile`, `shortfile`, `UTC`. The default is "`date`,`time`".
|
||||
|
||||
### --log-level LEVEL ###
|
||||
|
||||
This sets the log level for rclone. The default log level is `NOTICE`.
|
||||
|
||||
Reference in New Issue
Block a user