JBoss + Log4j + SNMPTrapAppender

2005-03-15 Thread Dylan Hansen
Greetings all, I've been spending a few days attempting to get Log4j sending SNMP trap notifications, and have not had any luck. I was hoping that someone that is subscribed to this list may have the same sort of configuration as me, and could point me in the right direction. Currently we use

Re: Build namespace issues

2005-03-15 Thread Curt Arnold
On Mar 15, 2005, at 5:04 PM, Andy McBride wrote: Wow, I hope this makes sense to somebody. Personally I wouldn’t know if my template expansion was different to my library build expansion! Perhaps this reply was intended to log4cxx userlist instead? :-) Sorry, yes wrong list. ---

RE: Build namespace issues

2005-03-15 Thread Andy McBride
Wow, I hope this makes sense to somebody. Personally I wouldn’t know if my template expansion was different to my library build expansion! Perhaps this reply was intended to log4cxx userlist instead? :-) > -Original Message- > From: Curt Arnold [mailto:[EMAIL PROTECTED] > Sent: 15 March

Re: Build namespace issues

2005-03-15 Thread Curt Arnold
On Mar 15, 2005, at 3:31 PM, Ron Ohmer wrote: I ran into a rather odd error when using SocketAppenders.   I have a wrapper that has worked fine, no warnings, nothing until I added functionality for the SocketAppender..   Now I get what follows this..  Does anyone know the root of this (Other than

Re: RollingFileAppender

2005-03-15 Thread Curt Arnold
On Mar 15, 2005, at 2:58 PM, Jason Roscoe wrote: We are using log4j 1.3 Alpha 3, so what all will I need to do? I was hoping the analysis would get you off and running by yourself. You have to choose an option: Upgrade the the CVS HEAD and remove the ".rolling" from the classname. Configure the new

RE: RollingFileAppender

2005-03-15 Thread Jason Roscoe
We are using log4j 1.3 Alpha 3, so what all will I need to do? -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 3:57 PM To: Log4J Users List Subject: Re: RollingFileAppender On Mar 15, 2005, at 2:21 PM, Jason Roscoe wrote: > > I am brand spa

Re: RollingFileAppender

2005-03-15 Thread Curt Arnold
On Mar 15, 2005, at 2:21 PM, Jason Roscoe wrote: I am brand spanking new to log4j. I have the following configuration file: # Set root category priority to DEBUG and set its only appender to Console log4j.rootCategory=DEBUG, Console, R # Console is set to be a ConsoleAppender (writes to system

Need a sample configuration file to use with Chainsaw for SocketHubReceiver.

2005-03-15 Thread Subramani, GnanaShekar \(GE Healthcare, non-ge\)
Hi, I am using chainsaw to see jboss logs remotely. Everytime I start Chainsaw, I have to add a SocketHubReceiver. I know there is a way out by using a configuration file that defines the SocketHubReceiver. I am new to this, do you have a sample configuration file that I can edit and use?.

RollingFileAppender

2005-03-15 Thread Jason Roscoe
I am brand spanking new to log4j. I have the following configuration file: # Set root category priority to DEBUG and set its only appender to Console log4j.rootCategory=DEBUG, Console, R # Console is set to be a ConsoleAppender (writes to system console). log4j.appender.Console=org.apac

Re: Logging problem on Mandrake

2005-03-15 Thread James Stauffer
Are the logs duplicated in txttools-web.log? Are you possibly sending logs to the console appender multiple times (at multiple levels)? Is it automatically configured or do you call code to tell it to use your log4j.properties? This sounds like it is being configured multiple times. On Tue, 15

Re: Logging problem on Mandrake

2005-03-15 Thread John Hunsley
This happens on any logging statement, log4J is configured through Log4j.properties, the file loks like this; log4j.rootLogger=DEBUG, console , file log4j.appender.file=org.apache.log4j.FileAppender log4j.appender.file.File=txttools-web.log log4j.appender.file.layout=org.apache.log4j.PatternLayou

Re: log4j namespace question

2005-03-15 Thread Curt Arnold
Based on previous discussions on the topic, it wasn't intentional but unfortunately that is how it is. In log4j 1.3, we have introduced an new namespace "http://logging.apache.org"; that contains all the configuration elements and the intention to provide appropriate schemas to assist in confi

Re: I tried simple-logger

2005-03-15 Thread NetSQL
http://simple-log.dev.java.net The logger is only 3 classes and very easy to use. I like simple. It does not have JMX or email on error, etc. hth, .V Bradley, Todd wrote: Do you like it better just because of the nice docs, or are there other reasons? Todd. -Original Message- From: NetSQ

Re: Logging problem on Mandrake

2005-03-15 Thread James Stauffer
Are you reloading any web apps? How are you configuring log4j? On Tue, 15 Mar 2005 14:51:31 +, John Hunsley <[EMAIL PROTECTED]> wrote: > Hi there, > > Im running an app in Tomcat5.0 on Mandrake 10.1. my logging statements > seem to grow over time. When I boot up tomcat the logging statements

Logging problem on Mandrake

2005-03-15 Thread John Hunsley
Hi there, Im running an app in Tomcat5.0 on Mandrake 10.1. my logging statements seem to grow over time. When I boot up tomcat the logging statements for each thread are displayed in catalina.out as they should, but after a while each statement prints out two or three times, the thread number a

log4j namespace question

2005-03-15 Thread OOMS DIRK
Hello, I have a question on the example xml config files in the log4j book, e.g. on page 75 (of my version) http://jakarta.apache.org/log4j/";> My basic knowledge of xml namespaces tells me that 'appender' (and all other tags inside this config) is outside the log4j namespace (else the top ta