]> git.ipfire.org Git - thirdparty/lldpd.git/commit - NEWS
log: rework the way -d work
authorVincent Bernat <vincent@bernat.im>
Sat, 28 Nov 2015 13:49:45 +0000 (14:49 +0100)
committerVincent Bernat <vincent@bernat.im>
Sat, 28 Nov 2015 13:49:45 +0000 (14:49 +0100)
commit9856f2792c301116cc4a3fcfba91b9672ee5db1f
treeb7247c199b7d2e017d90c361c4ddd87c18cdaeb6
parent25a6e97c58af54e7a1c5ee22b91738be8f65178b
log: rework the way -d work

Now:
 - `-d` means to stay in foreground, log to syslog
 - `-dd` means to stay in foreground, log warnings to console
 - `-ddd` means to stay in foreground, log warnings and info to console
 - `-dddd` means to stay in foreground, log all to console

Fix #146
NEWS
src/client/lldpcli.8.in
src/client/lldpcli.c
src/daemon/lldpd.8.in
src/daemon/lldpd.c
src/lib/errors.c
src/log.c
src/log.h