From 9e12ccaca3856204088948d35a5489b6b0b4a2d3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 23 Feb 2009 15:58:21 +0000 Subject: updated manpage and ChangeLog --- doc/uanytun.8.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'doc') diff --git a/doc/uanytun.8.txt b/doc/uanytun.8.txt index da6a49b..eae6064 100644 --- a/doc/uanytun.8.txt +++ b/doc/uanytun.8.txt @@ -15,6 +15,7 @@ SYNOPSIS [ *-g|--groupname* ] [ *-C|--chroot* ] [ *-P|--write-pid* ] +[ *-L|--log* :[,[,[..]]] ] [ *-i|--interface* ] [ *-p|--port* ] [ *-s|--sender-id* ] @@ -84,6 +85,28 @@ to not run in chroot. Instruct *uAnytun* to write it's pid to this file. The default is to not create a pid file. +-L|--log :[,[,[..]]] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +add log target to logging system. This can be invoked several times +in order to log to different targets at the same time. Every target +hast its own log level which is a number between 0 and 5. Where 0 means +disabling log and 5 means debug messages are enabled. + +The following targets are supported: + +* *syslog* - log to syslog daemon, parameters [,[,]] +* *file* - log to file, parameters [,] +* *stdout* - log to standard output, parameters +* *stderr* - log to standard error, parameters + +The file target can be used more the once with different levels. +If no target is provided at the command line a single target with the +following config is added: + +*syslog:3,uanytun,daemon* + + -i|--interface ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3