On Tue, 30 Mar 2010, BoOnSiOnG wrote: > Hello all, > > currently I'm using imfile module to monitor apache Tomcat > catalina.out, I noticed rsyslog will append date time and machine name > to every line, is it possible to configure rsyslog do not alter the > original log?
the way to do this would be to change the output format when writing the log. David Lang > Mar 29 04:13:08 rsyslogd : INFO: Using <Listener > className="org.apache.jk.config.ApacheConfig" > modJk="PATH_TO_MOD_JK.SO_OR_DLL" /> > Mar 29 04:13:08 rsyslogd : Mar 29, 2010 4:13:08 AM > org.apache.coyote.http11.Http11Protocol start > Mar 29 04:13:08 rsyslogd : INFO: Starting Coyote HTTP/1.1 on http-8080 > Mar 29 04:13:08 rsyslogd : Mar 29, 2010 4:13:08 AM > org.apache.jk.common.ChannelSocket init > Mar 29 04:13:08 rsyslogd : INFO: JK: ajp13 listening on /0.0.0.0:8009 > Mar 29 04:13:08 rsyslogd : Mar 29, 2010 4:13:08 AM > org.apache.jk.server.JkMain start > Mar 29 04:13:08 rsyslogd : INFO: Jk running ID=0 time=0/14 config=null > Mar 29 04:13:08 rsyslogd : Mar 29, 2010 4:13:08 AM > org.apache.catalina.startup.Catalina start > > my configuration, > $InputFileName /srv/tomcat/logs/catalina.out > $InputFileTag : > $InputFileStateFile stat-file-tomcat-01 > $InputFileSeverity info > $InputFileFacility local3 > $InputRunFileMonitor > > Thanks. :) > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

