diff options
author | Christian Pointner <equinox@anytun.org> | 2009-02-22 02:35:13 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-02-22 02:35:13 +0000 |
commit | c9bc8e82a25fd160872fac488bfe920f95f5fe5f (patch) | |
tree | d9751f4c9984ff848b130a31ffe9dc7081d414af /src/anytun-controld.cpp | |
parent | added file logging target (diff) |
added extended logging capability
Diffstat (limited to 'src/anytun-controld.cpp')
-rw-r--r-- | src/anytun-controld.cpp | 2 |
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 |