summaryrefslogtreecommitdiff
path: root/src/anytun-controld.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-22 02:35:13 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-22 02:35:13 +0000
commitc9bc8e82a25fd160872fac488bfe920f95f5fe5f (patch)
treed9751f4c9984ff848b130a31ffe9dc7081d414af /src/anytun-controld.cpp
parentadded file logging target (diff)
added extended logging capability
Diffstat (limited to 'src/anytun-controld.cpp')
-rw-r--r--src/anytun-controld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anytun-controld.cpp b/src/anytun-controld.cpp
index cff0932..680d143 100644
--- a/src/anytun-controld.cpp
+++ b/src/anytun-controld.cpp
@@ -97,7 +97,7 @@ int main(int argc, char* argv[])
bool daemonized=false;
try
{
- cLog.setLogName("anytun-controld");
+ cLog.addTarget("syslog:7,anytun-controld,daemon");
cLog.msg(Log::PRIO_NOTICE) << "anytun-controld started...";
try