Logging fixes
* Fixed: [Error message seen twice in some cases](https://github.com/clicon/clixon/issues/325) * Extended `-l` command-line option to all clixon commands with a `none` option, eg `-l n` directs logging to `dev/null`
This commit is contained in:
parent
ef302f0c05
commit
5551d753ef
10 changed files with 17 additions and 9 deletions
|
|
@ -138,6 +138,9 @@ clicon_log_opt(char c)
|
|||
case 'f':
|
||||
logdst = CLICON_LOG_FILE;
|
||||
break;
|
||||
case 'n':
|
||||
logdst = 0;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue