mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 10:33:34 +00:00
Add --syslog flag to optionally log to syslog on capable platforms
This commit is contained in:
@@ -254,7 +254,7 @@ func setDefaultFromEnv(name string) {
|
||||
if err != nil {
|
||||
log.Fatalf("Invalid value for environment variable %q: %v", key, err)
|
||||
}
|
||||
// log.Printf("Set default for %q from %q to %q (%v)", name, key, newValue, flag.Value)
|
||||
Debugf(nil, "Set default for %q from %q to %q (%v)", name, key, newValue, flag.Value)
|
||||
flag.DefValue = newValue
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user