Use of SyslogAppender and Log4j in Tomcat
Hi all, I am trying to use Log4j.properties to log Tomcat messages to the syslog. I am getting errors in the console telling me that it can't creat SyslogApender. Does anyone have a sample of the log4j.properties file that uses the SyslogAppender in Tomcat or have ideas how I can make mine work. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Use of SNMP to monitor Tomcat
Hey Many Thanks! It works like a dream. Three cheers for the Brits! Hut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Use of SNMP to monitor Tomcat
Good Morning Everyone, I need to incorporate Tomcat as the presentation layer of a larger system and in doing so, I want to monitor it using SNMP. I understand that Tomcat can incorporate JMX to monitor some of its functions; however, my project calls for the use of SNMP. Has anyone monitored Tomcat with SNMP or have any knowlege how to do so? Thanks! Hut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: access log format
Hi, I was watching this thread and noticed that is was very close to my thread. I am trying to use Apache Commons Logger, but I will settle for this default logger. Two questions: how do I write to this file (i.e. what class, like log, would I call) and how do I set the verbosity (i.e. trace, debug, info, warn, error, fatal) of the messages. Many thanks! Hut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Use of Apache Commons Logging in Tomcat
Hello There, I have a particular problem that someone may have seen before. I am writing a web service using Apache Axis 1.1 and I want to use Apache Commons to do my logging. I am using Apache Commons in the correct manner import org.apache.commons.logging.Log org.apache.axis.components.logger.LogFactory and then make an instance with the following line: private static Log log = LogFactory.getLog(MyClass.class.getName()) My problem is manipulating the log file configuration. I can't find the log4j.properties which is responsible for changing how the logging works. Also how does org.apache.catalina.logger.FileLogger work so I can call different levels of traces? I am pretty sure that FileLogger is connected to Apache Commons Logging. Thanks! Hut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]