Re: Catching Exceptions through Log4j

2004-02-19 Thread Ajay
Hi jake, Wow AOP looks great. I will look into that. Thanks alot Regards, Ajay Kumar.G Bioinformatics Specialist Ocimum Biosolutions 404 Reliance Classic Road no 1 Banjara Hills Hyderabad 500034 (www.ocimumbio.com) Phone: (91)40-55627200 Fax: (91)40-55627205 ***

Re: Catching Exceptions through Log4j

2004-02-19 Thread Jacob Kjome
If you are into AOP (Aspect Oriented Programming), you may be able to create an Aspect to do this for you. I don't know enough about it to give you any explanation of how to use AOP, but you could take a look at a promising new AOP project based on dynamic proxies https://dynaop.dev.java.n

Re: Catching Exceptions through Log4j

2004-02-19 Thread Ajay
Hi Jake, Thanks alot jake. My application now exceeds 1 million lines of code and has so many printStacktraces in my application. I was searching for hack if I could log them magically. Yesterday I browsed for this in the archives but coudn't find any. Just to confirm my finding I posted it. An

RE: Help with loggers - syslogd

2004-02-19 Thread Simon Dorrat
Jacob wrote: Set additivity to "false", although I can't give you an example of that for the property syntax. I don't remember it because I never use it. Should be in the docs. Anyway, if a logger inherits an appender (for instance, from one defined in the ROOT

RE: Help with loggers - syslogd

2004-02-19 Thread Jacob Kjome
At 02:16 PM 2/19/2004 -0500, you wrote: Just tried that. It does not really work. I tried by having two instance variables. One that gets the "applicationA" logger and one that gets the "applicationB" logger. "applicationA" logger is configured to use syslog appender. "applicationB" appender ap

Re: Catching Exceptions through Log4j

2004-02-19 Thread Jacob Kjome
At 05:00 PM 2/19/2004 +0530, you wrote: Hi all, First things first HI Everybody. I am new to this group and for logging otherthan using SOPs. I have a small question before actually start using it. Will log4j prints catched and uncatched exceptions. If yes at what level they will be in. Do y

RE: NEWBIE: ChainsawV2, SocketHubAppenders and JDK 1.4 logging

2004-02-19 Thread Scott Deboy
On the JDK1.4 side, configure your loggers with a SocketHandler and the default XMLFormatter. Here is an example receiver configuration which can receive the jdk1.4 util.logging events: http://jakarta.apache.org/log4j/"; debug="true"> You lose a number of fe

NEWBIE: ChainsawV2, SocketHubAppenders and JDK 1.4 logging

2004-02-19 Thread Lance Birtcil
Hi, I currently use ChainsawV2 and log4j in my webapps. I've set up a SocketHubAppender to stream messages from my appserver to my Chainsaw instance. Is it possible to get similar functionality (e.g. remote viewing) if I switch to using the JDK 1.4 logging api? Does anyone have an example co

RE: Help with loggers - syslogd

2004-02-19 Thread Ken . Liu
It would help if you could post your log4j config file for us to look at. Ken > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 2:17 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: Help with loggers - syslogd >

RE: org.apache.log4j.rolling.RollingFileAppender config example?

2004-02-19 Thread Jon Wilmoth
This is an example of the old RollingFileAppender. I'm interested in how to specify/configure trigger policies and rolling policies in the new org.apache.log4j.rolling.RollingFileAppender. -Original Message- From: mf [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 9:26 AM T

RE: Help with loggers - syslogd

2004-02-19 Thread carlos1 . rivera
Just tried that. It does not really work. I tried by having two instance variables. One that gets the "applicationA" logger and one that gets the "applicationB" logger. "applicationA" logger is configured to use syslog appender. "applicationB" appender appends to the default appender that appen

AW: org.apache.log4j.rolling.RollingFileAppender config example?

2004-02-19 Thread mf
One short sample. -Ursprüngliche Nachricht- Von: Jon Wilmoth [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 19. Februar 2004 17:59 An: [EMAIL PROTECTED]

org.apache.log4j.rolling.RollingFileAppender config example?

2004-02-19 Thread Jon Wilmoth
Is there an example xml config for the new org.apache.log4j.rolling.RollingFileAppender? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

using SMTPAppender over AsyncAppender failed

2004-02-19 Thread mf
I Have problems using AsyncAppender and SMTPAppender together. When I use the SMTPAppender directly I receive the expected mail: (see bottom for the complete file) When I use the SMTPAppender by using the AsyncAppender I receive *no* mail:

Viewing logs in a JMX console

2004-02-19 Thread David R Robison
I have added JMX support to one of my programs and I'm able to connect to it using the MC4J JMX console. I can also see the log4j MBeans. Is it also possible to view the logs from the JMX console? Can the console act as a log4j appended? Thanks, David Robison -- David R Robison Open Roads Cons

Catching Exceptions through Log4j

2004-02-19 Thread Ajay
Hi all, First things first HI Everybody. I am new to this group and for logging otherthan using SOPs. I have a small question before actually start using it. Will log4j prints catched and uncatched exceptions. If yes at what level they will be in. Thanks, Ajay Kumar.G Bioinformatics Speciali