tags 857758 confirmed patch
thanks

Daniel Haid wrote...

> the default configuration gives inspircd a --logfile argument
> in addition to the <log> section in the config file, which leads
> to everything being logged twice.

Seems removing the explicit --logfile from the command line (both in
.init and .service) is a bad idea: inspircd would want to write to an
inaccessible file then, I gave up since adding --log-dir to ./configure
isn't sufficient.

So it seems easier to remove that from the configuration:

--- a/debian/inspircd.conf
+++ b/debian/inspircd.conf
@@ -94,11 +94,6 @@
              somaxconn="128"
              netbuffersize="10240">
 
-<log method="file"
-     type="* -USERINPUT -USEROUTPUT"
-     level="default"
-     target="/var/log/inspircd.log">
-
 <whowas groupsize="10"
         maxgroups="100000"
         maxkeep="3d">

At a first glance, this does the right thing. But might result in other
surprises.

    Christoph

Attachment: signature.asc
Description: Digital signature

Reply via email to