summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfd/log.h
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2009-11-02 20:20:54 +0000
committerclaudio <claudio@openbsd.org>2009-11-02 20:20:54 +0000
commit636d06c3c3c72c74ae6d3c17bf98c92b0296f35c (patch)
tree49e1b858bb0816ec8003450707789c3d2c32f46c /usr.sbin/ospfd/log.h
parentDouble the escape timer (the time after a \033 is received before tmux gives up (diff)
downloadwireguard-openbsd-636d06c3c3c72c74ae6d3c17bf98c92b0296f35c.tar.xz
wireguard-openbsd-636d06c3c3c72c74ae6d3c17bf98c92b0296f35c.zip
Implement IMSG_CTL_LOG_VERBOSE to enable or disable debug logging on runtime.
It always annoyed me that in case of a problem I had to restart the ospf in forground debug mode and by doing so losing all routes at least twice. OK henning, sthen, michele
Diffstat (limited to 'usr.sbin/ospfd/log.h')
-rw-r--r--usr.sbin/ospfd/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/log.h b/usr.sbin/ospfd/log.h
index ea96b9c0cc9..ff5ef25a428 100644
--- a/usr.sbin/ospfd/log.h
+++ b/usr.sbin/ospfd/log.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.h,v 1.4 2007/09/28 18:46:56 claudio Exp $ */
+/* $OpenBSD: log.h,v 1.5 2009/11/02 20:20:54 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -22,6 +22,7 @@
#include <stdarg.h>
void log_init(int);
+void log_verbose(int);
void vlog(int, const char *, va_list);
void log_warn(const char *, ...);
void log_warnx(const char *, ...);