|
@ -90,7 +90,7 @@ fn main() { |
|
|
Arg::new("to-stderr")
|
|
|
Arg::new("to-stderr")
|
|
|
.long("log-stderr")
|
|
|
.long("log-stderr")
|
|
|
.help("Prints log messages to the standard error output")
|
|
|
.help("Prints log messages to the standard error output")
|
|
|
.conflicts_with("log-syslog"),
|
|
|
|
|
|
|
|
|
.conflicts_with("to-syslog"),
|
|
|
)
|
|
|
)
|
|
|
.arg(
|
|
|
.arg(
|
|
|
Arg::new("foreground")
|
|
|
Arg::new("foreground")
|
|
@ -118,7 +118,7 @@ fn main() { |
|
|
|
|
|
|
|
|
match set_log_system(
|
|
|
match set_log_system(
|
|
|
matches.value_of("log-level"),
|
|
|
matches.value_of("log-level"),
|
|
|
matches.is_present("log-syslog"),
|
|
|
|
|
|
|
|
|
matches.is_present("to-syslog"),
|
|
|
matches.is_present("to-stderr"),
|
|
|
matches.is_present("to-stderr"),
|
|
|
) {
|
|
|
) {
|
|
|
Ok(_) => {}
|
|
|
Ok(_) => {}
|
|
|