2009/2/5 Willie Wong <ww...@princeton.edu> > On Thu, Feb 05, 2009 at 09:31:07AM +0100, Penguin Lover Marcin Niskiewicz > squawked: > > It works fine (it writes history to history.log) but still it writes it > to > > those 3 files (debug , syslog, messages) as well ... > > so now everything I type is written to 4 files (debug , syslog, messages > and > > history.log) and I'd like it to be written only to 1 file. > > > > If you have a filter rule that matches for history, why don't you just > append "and not [insert rule here]" to the filter rule for syslog, > messages, and debug? > > W > -- > "This is just for cultural purposes, so don't panic." > ~DeathMech, S. Sondhi. P-town PHY 205 > Sortir en Pantoufles: up 790 days, 13:07 > > Hello thanks for helping me as it seems the solution was easy - i had to put "flags(final);" parameter and change a little order in config file and put: log { source(src); filter(f_history); destination(history); flags(final); }; in the highest line in log section and it works!
(the solution from syslog-ng group) thanks again regards nichu