summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-04 14:46:49 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-04 14:46:49 +0000
commite103487ade654c8cb2bd20fcaadf97ee98faa737 (patch)
tree63b195783c52e776229ffbe042df576d82aad1ac /radsecproxy.h
parentf32f6b2ef9cd578920c98b7b60c56b8ed1c4bc1c (diff)
added logging to file and syslog (need to add support for specifying facility)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@72 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index 8ab3455..6d47014 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -12,7 +12,7 @@
sizeof(struct sockaddr_in) : \
sizeof(struct sockaddr_in6))
-#define DEBUG_LEVEL DBG_INFO
+#define DEBUG_LEVEL DBG_WARN
#define CONFIG_MAIN "/etc/radsecproxy/radsecproxy.conf"
#define CONFIG_SERVERS "/etc/radsecproxy/servers.conf"
@@ -57,6 +57,8 @@ struct options {
char *tlscertificatekeypassword;
char *listenudp;
char *listentcp;
+ char *logdestination;
+ uint8_t loglevel;
uint8_t statusserver;
};