1
0
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:
dcpu
2018-09-03 02:11:09 +09:00
committed by Nick Craig-Wood
parent bd5d326160
commit f4aaec9ce5
3 changed files with 28 additions and 1 deletions

View File

@@ -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`.