On Sat, 2011-02-05 at 08:09 -0800, Subrahmanyam Manuguri wrote:
Thank you Bazsi for the reply.
The file and other destinations in my configuration file are fixed during the boot up. It is possible to change the configuration during the system life through cli commands but i don't see anybody touching the configuration during the boot up. I will double check that anyway.
Anyway, following is my configuration file's destination list. Am i doing something wrong?
Appreciate your help very much.
++++++++++++++++++++++++++++++++++++++++++
destination dest_console { file("/dev/console"); };
# Console log, comment it to turn off console logging, done by log_console.sh #log { source(src); filter(f_emerg); destination(dest_console); }; #log { source(kern_source); filter(f_emerg); destination(dest_console); };
# File destinations destination dest { file("/var/log/messages"); }; destination kern_destination { file("/var/log/messages" fsync(yes) );}; destination sip_dest { file("/var/log/siplog" fsync(yes) template("$MSG\n")); }; destination dsp_dest { file("/var/log/dsplog" fsync(yes) template("$ISODATE: $HOST: $PROGRAM: $MSG\n")); };
# File log objects log { source(src); filter(f_debug); destination(dest); }; log { source(kern_source); filter(f_debug); destination(kern_destination); }; log { source(sip_src); destination(sip_dest); }; log { source(dsp_src); destination(dsp_dest); };
Hmm... I can't see your "f_debug" filter defined anywhere. It should be noticed by the configuration parser though. Ah, I just realised that this is only a portion of your config file. Can you try a newer version? -- Bazsi