aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-05-21 11:22:09 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-05-21 11:22:09 +0200
commit7ab1b2a97ab43ef58905801572e86b1bbb517973 (patch)
tree9f142c47f472537530d2953fa4d4c5010e156f67 /passt.c
parent84a62b79a2bccb8b7db24e230854a7b160c0851b (diff)
downloadpasst-7ab1b2a97ab43ef58905801572e86b1bbb517973.tar
passt-7ab1b2a97ab43ef58905801572e86b1bbb517973.tar.gz
passt-7ab1b2a97ab43ef58905801572e86b1bbb517973.tar.bz2
passt-7ab1b2a97ab43ef58905801572e86b1bbb517973.tar.lz
passt-7ab1b2a97ab43ef58905801572e86b1bbb517973.tar.xz
passt-7ab1b2a97ab43ef58905801572e86b1bbb517973.tar.zst
passt-7ab1b2a97ab43ef58905801572e86b1bbb517973.zip
util: On -DDEBUG, log to stderr with timestamps
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
-rw-r--r--passt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/passt.c b/passt.c
index 3637e48..2f538e4 100644
--- a/passt.c
+++ b/passt.c
@@ -795,7 +795,7 @@ int main(int argc, char **argv)
}
#if DEBUG
- openlog("passt", LOG_PERROR, LOG_DAEMON);
+ openlog("passt", 0, LOG_DAEMON);
#else
openlog("passt", isatty(fileno(stdout)) ? 0 : LOG_PERROR, LOG_DAEMON);
#endif