[JDEV] patch: jabberd-1.4 logfile rotation

Ralph Siemsen ralphs at blueairnetworks.com
Wed Oct 2 12:48:18 CDT 2002


Chris Wilkes wrote:
> On Wed, Oct 02, 2002 at 07:57:56AM +0200, Martin Lesser wrote:

> Speaking of log files, is there a way to up the logging level of
> jabberd?  Right now I just have logins and outs in my jabber.record file
> and would like to have something on the order of "user1 sent message to
> user2"

You can see all the packets (and their contents) with the -D flag. 
There doesn't seem to be any in-between logging level -- I agree that it 
would be a nice feature to have.

> Are you getting the mio.c log entries only when you run in debug (-D)
> mode?

I get tons and tons of debug from all over.  Make sure you compiled with 
debugging enabled (a clean build can't hurt).

Also there is a -Z flag that lets one restrict the logging that will be 
done.  I don't know if its documented, I figured it out from looking at 
the source code.  You follow -Z with the names of files (without the .c 
extension) whose debugging you are interested in.  For example you could 
use "-Z mio" to get just mio debugging.  Multiple filenames can be 
specified with commas in between.

-R





More information about the JDev mailing list