summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-23 15:58:21 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-23 15:58:21 +0000
commit9e12ccaca3856204088948d35a5489b6b0b4a2d3 (patch)
treeb248bf01d2382055ed1d82804c4b5f290e15d20e
parentfixed cleanup at errors in main (diff)
updated manpage and ChangeLog
-rw-r--r--ChangeLog1
-rw-r--r--doc/uanytun.8.txt23
2 files changed, 24 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2995012..18b1175 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2009.??.?? -- Version 0.3
+* added extended logging support (syslog, file stdout and stderr)
* changed -n|--ifconfig parameter to new behavior
tun and tap devices now use the same syntax
* improved tap device handling on OpenBSD
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* <groupname> ]
[ *-C|--chroot* <path> ]
[ *-P|--write-pid* <filename> ]
+[ *-L|--log* <target>:<level>[,<param1>[,<param2>[..]]] ]
[ *-i|--interface* <ip-address> ]
[ *-p|--port* <port> ]
[ *-s|--sender-id* <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 <target>:<level>[,<param1>[,<param2>[..]]]
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+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 <level>[,<logname>[,<facility>]]
+* *file* - log to file, parameters <level>[,<path>]
+* *stdout* - log to standard output, parameters <level>
+* *stderr* - log to standard error, parameters <level>
+
+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 <ip address>
~~~~~~~~~~~~~~~~~~~~~~~~~~~