Bugs: channel logging problems

Sylvain A. sylvain.a at noos.fr
Tue Jul 22 06:37:33 CST 2003


Hi everybody,

I have always used eggdrop to logs my channel, and it worked perfectly
except when my ircd crash.

So I bring the server again, my egg keep trying connect, and come back on
the channel.
Then I see that my egg is logging the channel as with flags "pk" but no
more flags "jpk", so it miss all joins/parts/quits/nicks events in the
logs !! :(

Sample chans settings from .conf :


channel add #Cool {
  chanmode "+t"
  idle-kick 0
  stopnethack-mode 0
  ban-time 5040
  exempt-time 0
  flood-nick 5:30
}

channel set #Cool +dynamicbans +userbans -enforcebans -clearbans
channel set #Cool +dynamicexempts +userexempts
channel set #Cool +nodesynch -statuslog

set max-logs 20

logfile jpk #Cool "logs/cool.log"



It didn't really matter, because ircd is not crashing often...
But recently, I had the same problem without the server beeing crashed :(((

Updated sample .conf :



channel add #Cool {
  chanmode "+t"
  idle-kick 0
  stopnethack-mode 0
  ban-time 5040
  exempt-time 0
  flood-nick 5:30
}

channel set #Cool +dynamicbans +userbans -enforcebans -clearbans
channel set #Cool +dynamicexempts +userexempts
channel set #Cool +nodesynch -statuslog

channel add #abus {}

set max-logs 20

logfile jpk #Cool "logs/cool.log"
logfile jpk #abus "logs/abus.log"


In short, if I add a second (or more) channel(s) in the .conf, logging
flags are "pk" and no more "jpk" !!

I came to Undernet's #eggdrop to explain, and we found out that I had a
mess with TCL (ie : lib was 8.4 beta or so, and headers were 8.2)
So I re-compiled properly the stuff, and now ".status all" says :

[14:33] <{Cool_stats}> OS: Linux 2.4.18
[14:33] <{Cool_stats}> librairie Tcl: /usr/lib/tcl8.2
[14:33] <{Cool_stats}> Tcl version: 8.2.3+ (header version 8.2.3+)

So this should be correct....But I have still this logging problem.


(BTW :
configure --with-tcllib=/usr/lib/ --with-tclinc=/usr/include/tcl8.2/
does not work for me.

export TCLINC=/usr/include/tcl8.2/
export TCLLIB=/usr/lib/
configure
does work for me
)


More information about the Bugs mailing list