[PKG-IRC-Maintainers] Bug#857758: Bug#857758: inspircd writes everything to logfile twice with default configuration

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Sat Aug 5 20:11:31 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-irc-maintainers/attachments/20170805/18af3fbc/attachment.sig>


More information about the Pkg-irc-maintainers mailing list