Re: e-mail logger?

2003-12-18 Thread Paul Smith
There is already an SMTPAppender in log4j, and very handy it is too. http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html cheers, Paul Smith On Thu, 2003-12-18 at 19:55, Charl Gerber wrote: > Is there an implementation available (or planned) for a log4j e-m

Re: How-To get Log4Ant listed on Log4J Extensions?

2003-12-15 Thread Paul Smith
Done. (Thanks to Ceki for fixing a permissions problem) On Mon, 2003-12-15 at 13:15, Wascally Wabbit wrote: > At 08:55 PM 12/14/2003, you wrote: > >I've added this to the Xdocs of the site, but I need to confirm with > >Ceki on the exact process of getting the changes reflected on the actual > >we

RE: Chainsaw:

2003-12-14 Thread Paul Smith
> It's the splitting of the events into different tabs, the frst one, tab > highlighting, was related to what rules for highlighting are defined per > tab. > I think Scott Deboy has already done the saving of the colouring prefs, that should be working? The tab identifier preference is now availa

Re: How-To get Log4Ant listed on Log4J Extensions?

2003-12-14 Thread Paul Smith
I've added this to the Xdocs of the site, but I need to confirm with Ceki on the exact process of getting the changes reflected on the actual website. cheers, Paul On Mon, 2003-12-15 at 12:34, Wascally Wabbit wrote: > Can someone point-to/describe how we can get our Log4j-Ant > tasks listed u

Re: How-To get Log4Ant listed on Log4J Extensions?

2003-12-14 Thread Paul Smith
whoops, I thought you meant on the ant site, I think I can accomodate this. On Mon, 2003-12-15 at 12:40, Paul Smith wrote: > I'd drop a line to the good folks over on the ant-user mailing list. > I'm sure they can help you out. > > cheers, > > Paul Smith >

Re: How-To get Log4Ant listed on Log4J Extensions?

2003-12-14 Thread Paul Smith
I'd drop a line to the good folks over on the ant-user mailing list. I'm sure they can help you out. cheers, Paul Smith On Mon, 2003-12-15 at 12:34, Wascally Wabbit wrote: > Can someone point-to/describe how we can get our Log4j-Ant > tasks listed under "Log4Ant&quo

Re: Chainsaw:

2003-12-14 Thread Paul Smith
value", I think the latter you mean how Chainsaw splits the events into separate tabs? Is that correct?) cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Dynamic Configuration

2003-12-11 Thread Paul Smith
nded. What type of Appender are you using (FileAppender? Daily*Appender?), and what version of log4j are you using? (the latest is log4j 1.2.8) cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

RE: Dynamic Configuration

2003-12-11 Thread Paul Smith
On Fri, 2003-12-12 at 10:59, Shimi Avizmil wrote: > First of all thanks for the reply ! > > Problem 1: > private Log log = MySystem.getLog(getClass().getName()); > > I'm not talking about gc the logger, I'm talking about a case where if I have an > object that has a static logger reference, and

RE: Dynamic Configuration

2003-12-11 Thread Paul Smith
Problem 1: I think we'll need to see the code where you initialise the logger, and where you do the actual logging. Storing a local reference to the logger is fine, and the recommended practice. If you make it static, even better, I am not sure why you would want the GC to collect it. Problem 2:

Re: Thinking about log4j performance

2003-12-11 Thread Paul Smith
In almost all cases this is correct, the logging done to the appender is all done within the same thread. Only the AsyncAppender performs it's appending in a separate thread. regards, Paul Smith On Thu, 2003-12-11 at 19:32, Yu Xiang Xi (Maveo) wrote: > It's known that log

RE: [Chainsaw]: Ant-based installer

2003-12-10 Thread Paul Smith
> I noticed that behaviour, is there a reason. It's a bit annoying to have to > turn off each sub-logger. When configuring loggers, if you set a logger to > FATAL, then all sub-loggers are converted to FATAL, right?? Shouldn't > chainsaw replicate this idea. > > Most times nodes in a logger tr

RE: [Chainsaw]: Ant-based installer

2003-12-10 Thread Paul Smith
re-used. Do you have a certain style of constraint in mind here? Be good to have all this in the back of my mind as I'm developing. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [Chainsaw]: Ant-based installer

2003-12-10 Thread Paul Smith
I've > only ignored a few.. > > Is there a quick way to see what is ignored. > Maybe a popup dialog or inline panel under the logger tree that could be shown/hidden, with a list of loggers (full dotted package name) on the ignore list, which you can uncheck? Glad to hear that th

[Chainsaw]: Ant-based installer

2003-12-10 Thread Paul Smith
est version whenever you wish. Feel free to ask questions on this list if you have any problems or thoughts. cheers, Paul Smith CHAINSAW v2 installer T

Re: Can we control the logging level to class level instead of package level?

2003-12-08 Thread Paul Smith
you'll need to switch additivity off for the logger you want disabled, otherwise the LoggingEvent gets passed up the logger hierarchy to the root logger The short manual has info on this: http://jakarta.apache.org/log4j/docs/manual.html (see the bit on additivity) But when you get Ceki's book, t

Re: Chainsaw

2003-12-08 Thread Paul Smith
On Tue, 2003-12-09 at 08:49, eugene akerman wrote: > Hi Scott, Hi Paul > So I am looking at chainsaw and it looks great. I was using LogFactor > until now but I feel I should go with Chainsaw. > Is it possible to get an historic point of view on Chainsaw. For example > Why did you guys decide to w

Re: I am not getting stack trace from logger.error("error",e)?

2003-12-08 Thread Paul Smith
ul On Tue, 2003-12-09 at 08:11, Paul Smith wrote: > Depends how you log your stacktrace. If you log like this: > > private static final Logger LOG = Logger.getLogger(.); > > ... > try { > > } > catch(Exception e) { > LOG.error(e); > } > > The

Re: I am not getting stack trace from logger.error("error",e)?

2003-12-08 Thread Paul Smith
l stacktrace is output (assuming that the JDK 1.4.2 doesn't still get you) cheers, Paul Smith On Tue, 2003-12-09 at 07:23, struts wrote: > I am also getting the similiar problem. Just I was able to see the stack > trace in the console, but in the database, I can just see the error mes

Re: chainsaw v2

2003-12-08 Thread Paul Smith
On Tue, 2003-12-09 at 00:54, [EMAIL PROTECTED] wrote: > hi paul and scott, > > is it possible to implement a dialog to confirm that the user wants to exit > der chainsaw v2 app (perhaps an JOptionPane)? It's certainly possible, we elected to not bother with this as it is generally infrequent that

FW: chainsaw v2

2003-12-04 Thread Paul Smith
[forgot to send this to the list] -Original Message- From: Paul Smith To: '[EMAIL PROTECTED] ' Sent: 12/4/03 9:41 PM Subject: RE: chainsaw v2 Ulrich, the bug you mentioned, plus the feature you requested are now done, and available from cvs. cheers, Paul Smith -Origin

RE: chainsaw v2

2003-12-04 Thread Paul Smith
' a tab. Could you expand a bit more for me? cheers, and thanks for the feedback, keep it coming. cheers, Paul Smith -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 12/4/03 6:40 PM Subject: chainsaw v2 hi paul, yesterday i tested the changes you made. the cus

RE: Antwort: Re: Antwort: RE: timestamp in chainsaw v2

2003-12-03 Thread Paul Smith
l. i have problems to describe this behaviour in > english, so > ask me again > if you don't understand what i mean. > > servus uli > > > > > >

Re: Antwort: RE: timestamp in chainsaw v2

2003-12-02 Thread Paul Smith
ee the popup. The old View->Display Tabs has been removed in favour of the new feature, and we'll eventually have a separate 'Window' top level menu to assist in the managing of all Tabs and undocked windows. Let me know

RE: timestamp in chainsaw v2

2003-12-02 Thread Paul Smith
target and will probably happen a few times until release. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: additivity trouble

2003-12-02 Thread Paul Smith
no logger attached (and additivity is off) they do not end up anywhere. Hope that helps. cheers, Paul Smith -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 12/2/03 7:31 PM Subject: additivity trouble Hello everybody, I'm using a root category for all the log

RE: timestamp in chainsaw v2

2003-12-02 Thread Paul Smith
feature in earlier since you are using chainsaw v2 already. Let us know if there is anything else you are passionate about, or if you find any issues. cheers, Paul Smith -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 12/2/03 6:39 PM Subject: timestamp in chainsaw v2

RE: Resolution: How stable is Chainsaw 2?

2003-12-01 Thread Paul Smith
finally!) upgraded to 1.2.8. No problems at all. Feel free to post suggestions, comments etc to this list. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: DailyRollingFileAppender with filesize option

2003-12-01 Thread Paul Smith
is not that far away. We appreciate your contribution, perhaps you could attach the files to a bug item (if you haven't done so already), so that your efforts don't get lost if my understanding is not correct. cheers, Paul Smith On Mon, 2003-12-01 at 20:57, Bansemir, Carsten wrote:

RE: How stable is Chainsaw 2?

2003-11-29 Thread Paul Smith
? or is this being done via a GUI IDE? If so I would recommend trying to run chainsaw from the command line first. BTW, I am in the GMT +10 timezone, so apologise for any lag in communication. cheers, Paul Smith -Original Message- From: Robert Augustyn To: 'Log4J Users List' S

RE: How stable is Chainsaw 2?

2003-11-28 Thread Paul Smith
> Not from what I can see. Only build.properties is > loaded. build.properties.sample is ignored and is only used as a > template. Jake, you are correct. I must be thinking of another project. Robert, we'll definately need to see the output of the ant target as it runs. cheer

RE: How stable is Chainsaw 2?

2003-11-28 Thread Paul Smith
t created either. Robert -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 2:04 AM To: 'Log4J Users List' Subject: RE: How stable is Chainsaw 2? It's very stable, and very usable with features be added all the time, but the current

RE: How stable is Chainsaw 2?

2003-11-28 Thread Paul Smith
nning it. cheers Paul Smith > -Original Message- > From: Robert Augustyn [mailto:[EMAIL PROTECTED] > Sent: Friday, 28 November 2003 5:24 PM > To: 'Log4J Users List' > Subject: How stable is Chainsaw 2? > > > Hi, > I wonder if Chainsaw 2 is a usable

RE: Log4j configuration.

2003-11-27 Thread Paul Smith
s to a file then you could keep it there permanently, but I think what you really want is a FileAppender (as opposed to the ConsoleAppender that you have configured at the moment). See the javadocs on the file appender for more information. cheers, Paul > -Original Message- > Fr

RE: Log4j configuration.

2003-11-27 Thread Paul Smith
hed configuring. > log4j:WARN No appenders could be found for logger (org.pdfbox.pdfparser.PDFParse > r). > log4j:WARN Please initialize the log4j system properly. Next, please paste the entire contents of the c:/jarfiles/log4j.properties file into another email to

RE: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Paul Smith
tor.html#doConfigure(java.lang.String, org.apache.log4j.spi.LoggerRepository) cheers, Paul Smith On Fri, 2003-11-28 at 12:25, Robert Augustyn wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Log4j configuration.

2003-11-27 Thread Paul Smith
see what is happening.. cheers, Paul Smith > You keep insisting on using non-url syntax for your setup even when you > reference the correct URL syntax. Do this... > > java -Dlog4j.configuration=file:/c:/jarfiles/log4j.properties > org.pdfbox.searchengine.lucene.LucenePDFD

Re: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Paul Smith
do that? > Thanks a lot. > Robert > Btw: I am using version which comes with ver 1.2.8 of > log4j. Hi Robert, Do you have an appender configured that outputs using the XMLLayout layout class? That's the first step. If so, is Chainsaw throwing an error? We'll need a few m

RE: I am not getting stack trace from logger.error("error",e)?

2003-11-27 Thread Paul Smith
or. Not using the -server option seems to help, although you lose some performance there. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: TelnetAppender generates NullPointerException

2003-11-25 Thread Paul Smith
> log4j.appender.telnet.port=23 > I think that might need to be: log4j.appender.telnet.Port=23 As the java bean property introspection rules are case sensitive, (it looks for a "setPort" method) cheers, Paul Smith

Re: Chainsaw - viewing log files from client side

2003-11-20 Thread Paul Smith
it if you did try this out to let us know how you go, and if you have any issues, we'll try to help out as much as possible. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Log4J Question

2003-11-20 Thread Paul Smith
On Thu, 2003-11-20 at 22:51, Jones, Marty B. wrote: > I was wondering if Log4J will allow me to do the following: > > configure a RollingFileAppender that logs standard output. > configure a RollingFileAppender that logs info and warning output. > configure a RollingFileAppender that logs error le

RE: How do I use filters in AND condition fashion?

2003-11-19 Thread Paul Smith
On Thu, 2003-11-20 at 09:17, Scott Deboy wrote: > Yes...currently in the varia package, although I understand Mark may be > planning a move to a new package for the filters. > Bizarre, I was doing a search from within Eclipse, and I could not find it in the source, I must be going loopy. > By th

RE: How do I use filters in AND condition fashion?

2003-11-19 Thread Paul Smith
On Thu, 2003-11-20 at 05:16, Scott Deboy wrote: > I'm not sure about whether this capability is available using the latest > distribution's set of filters, but I've contributed a simple expression > language and an ExpressionFilter (should be a part of the next release) > which provide support for

Re: Chainsaw - viewing log files from client side

2003-11-19 Thread Paul Smith
my but and do it Starting from within a running VM would be a little difficult at the moment, I think I could add a static factory method to create one for you. Would that help? cheers, Paul Smith - To unsubscribe, e-mail: [E

RE: I cannot figure out where my extra message line comes from onthe console

2003-11-12 Thread Paul Smith
> Okay -- so my next question is -- what's the easiest way to get my > program to ignore that log4j.properties file? (I don't really want > to use my own file -- I just want to configure it in the code). I think the following System property would do it: -Dlog4j.defaultInitOverride=true Thi

RE: I cannot figure out where my extra message line comes from on the console

2003-11-12 Thread Paul Smith
ger.getRootLogger(); > root.addAppender(appender); > } > > > Maybe she is picking up a log4j config file from the classpath? > > Ken > > > > > > -Original Message- > > From: Paul Smith [mailto:[EMAIL PROTECTED] > > Sent: We

RE: I cannot figure out where my extra message line comes from on the console

2003-11-12 Thread Paul Smith
On Thu, 2003-11-13 at 10:00, [EMAIL PROTECTED] wrote: > Paul - > > Are you sure about that? I thought that only happened with > BasicConfigurator.configure() (no params). > > /** > Add appender to the root category. > @param appender The appender to add to the root category. > */ >

Re: I cannot figure out where my extra message line comes from on the console

2003-11-12 Thread Paul Smith
The BasicConfigurator already creates and configures a ConsoleAppender automatically, so the other one that you are adding is doubling up. (The output with the time is your appender is your one I think). cheers, Paul On Thu, 2003-11-13 at 09:40, Chang, Betty wrote: > Hi all-- (I'm a new user, s

Re: Configuration error

2003-11-12 Thread Paul Smith
I was also thinking that you might consider putting a Log message immediately following the BasicConfigurator.configure() call. If you receive this message to the console, then something else is re-initing Log4j. BTW, 2 things about your code: * The BasicConfigurator will automatically add and c

Re: Configuration error

2003-11-12 Thread Paul Smith
On Thu, 2003-11-13 at 02:22, Dimitri Pissarenko wrote: > Hello! > > I'm getting the log4j error message > > > log4j:WARN No appenders could be found for logger (SomeClass). > log4j:WARN Please initialize the log4j system properly. > > > Most likely candidate is that some where in the Test c

RE: Newbie question on setting different levels

2003-11-12 Thread Paul Smith
On Thu, 2003-11-13 at 03:45, Scott Smith wrote: > OK, you are forcing me to admit my sins. This morning I woke up and guessed > the problem (I knew I should have waited another day before asking for > help). I think that there must be a universal Law somewhere about this, I've also found numero

RE: Newbie question on setting different levels

2003-11-11 Thread Paul Smith
On Wed, 2003-11-12 at 13:57, [EMAIL PROTECTED] wrote: > Scott, > > Is it possible that the Jakarta libraries are reconfiguring log4j on you after your > configuration has run? I ran into this with the open source Joram JMS > implemnetation. As soon as I started using the Joram classes, some s

Re: Newbie question on setting different levels

2003-11-11 Thread Paul Smith
on sets to otherwise. cheers, Paul Smith On Wed, 2003-11-12 at 11:13, Scott Smith wrote: > I've been reading through documentation on log4j and thought I understood > how everything works. But there is something I'm missing. > > Since several of the Jakarta libraries seem to lo

Re: controlling log directory

2003-10-09 Thread Paul Smith
in defining a base directory etc. For windows, you will probably need something like: webappRoot=c:\\toolkit\\tomcat4.0\\webapps\\ Mainly because of \ need to be escaped. Hope this helps you. regards, Paul Smith - To unsubscri

Re: SMTP Appender Threshold

2003-10-09 Thread Paul Smith
of the email. cheers, Paul Smith On Fri, 2003-10-10 at 07:50, Ken Hoying wrote: > Looking at the documentation, it would appear that > setting the Threshold parameter to DEBUG should > accomplish what I want. However, this does not appear > to be working as documented. I think t

Re: MemoryAppender

2003-10-09 Thread Paul Smith
This is exactly what the SMTPAppender does, uses a sliding window (BufferSize property) to hold the events until a triggering event occurs (by default an ERROR level event). cheers, Paul Smith On Fri, 2003-10-10 at 04:07, [EMAIL PROTECTED] wrote: > Most of our production applications have

Re: SMTP Appender Threshold

2003-10-09 Thread Paul Smith
By default, the SMTPAppender _waits_ for an ERROR level logging event to arrive, and sends with it the BufferSize # of previous events before it inside the email for use in context. Think of the Buffer as a sliding window of events that gets triggered by the arrival of Error. There are some confi

Re: Log4j for Custom logging *NEWBIE*

2003-10-09 Thread Paul Smith
On Thu, 2003-10-09 at 18:21, Kunal H. Parikh wrote: > Hi All ! > > I have been looking at Log4j and after some reading I believe that Log4j > is mainly used for debugging or error logging or info logging. > > I have a scenario where I may need to log every search conducted on our > website. > A

Re: Chaining

2003-10-01 Thread Paul Smith
t to NDC.pop() at the end of each method where you NDC.push(...).. cheers, Paul Smith On Thu, 2003-10-02 at 01:10, David Liles wrote: > I just started using log4j and am having trouble trying to figure out how to chain > logging messages > > class 1 makes a call to class 2.

Re: SMTPAppender and BufferSize.

2003-09-28 Thread Paul Smith
I think the BufferSize is misleading here. Perhaps an issue to address with the JBoss team? cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Plans for supporting a build in level of "trace"

2003-09-24 Thread Paul Smith
On Thu, 2003-09-25 at 01:03, Larry Young wrote: > Paul, > > Actually, based on our conversation back in August, it works out > better if you put the "trace" at the front of the class name, that way you > still can specify package names and get everything underneath it, and you > can al

Re: Plans for supporting a build in level of "trace"

2003-09-23 Thread Paul Smith
level for those that way inclined. Perhaps those log4j dev-people who were involved in the Log4j-JDK1.4 matching development might be able to comment on any rationale etc. But for me, I'm very happy with the current Trace-less log4j. Paul Smith

Re: LogFactor5 and SocketHubAppender functionality

2003-09-08 Thread Paul Smith
If you don't want to wait for the official release, the HEAD version of Chainsaw v2 supports it via defining it in a log4j configuration file, and we're -> <- close to tidying up the UI to specify it via the GUI too. cheers, Paul Smith On Tue, 2003-09-09 at 05:22, Lance Bir

Re: Elementary question

2003-09-08 Thread Paul Smith
de a Webapp. cheers, Paul Smith On Mon, 2003-09-08 at 12:23, Bhamidi Krishna wrote: > Hi, > > I am trying to configure log4j for an app. Currently, I have deployed > it on Tomcat. My code snippet is - > > .. > String configFileName = "com.common.logger.xml

RE: LevelRangeFilter not working

2003-09-07 Thread Paul Smith
2003-09-08 at 08:45, Matt Raible wrote: > Yep - I only want ERROR and FATAL to go to my file appender and all > messages (fatal -> debug) to go to the console. > > -Original Message- > From: Paul Smith [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 07, 2003 4:18 PM

RE: LevelRangeFilter not working

2003-09-07 Thread Paul Smith
aible wrote: > I believe I have it configured correctly. I want to log messages that > are FATAL or ERROR - nothing above error. > > Matt > > -Original Message- > From: Paul Smith [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 07, 2003 4:05 PM > To: Log4J Use

Re: LevelRangeFilter not working

2003-09-07 Thread Paul Smith
LevelMatchFilter which takes a single level to match, and only accepts those, denies all others. Otherwise you could set the LevelMin of the LevelRangeFilter to ERROR and that should work too, I think. cheers, Paul Smith On Sat, 2003-09-06 at 07:55, Matt Raible wrote: > I two appenders - a cons

RE: embedding chainsaw or logfactor5

2003-09-01 Thread Paul Smith
On Mon, 2003-09-01 at 18:33, Ricardo Trindade wrote: > not yet. is it released or CVS only ? No, not released yet, but if you check out the jakarta-log4j module from the apache CVS repository, and use the "chainsaw" target of the ant build script you can try it out. Chainsaw v2 is targeted for

RE: embedding chainsaw or logfactor5

2003-08-31 Thread Paul Smith
On Sat, 2003-08-30 at 01:40, Ricardo Trindade wrote: > >I can speak for Chainsaw, as one of the developers of it, I'll defer to > >someone else with more LF5 experience to comment on it. > > >Depends what you mean by embed? What did you have in mind? > > I want to have a JPanel inside my applica

RE: duplicate logging?

2003-08-29 Thread Paul Smith
don't worry about where it's going. Then, later on, you can put on your "Where should my log statements go" hat and deal with what should be appended where/when in the configuration file. This separation makes Loggin

RE: duplicate logging?

2003-08-28 Thread Paul Smith
I'd recommend removing this so it is just: log4j.rootLogger=INFO Now attach your d1 logger to your com.sap.EventThread logger like so: log4j.logger.com.sap.EventThread=INFO,d1 This should work a treat. Let me know how you go. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: duplicate logging?

2003-08-28 Thread Paul Smith
you could refresh my memory as to where they are actually going again that will help me a lot. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: embedding chainsaw or logfactor5

2003-08-28 Thread Paul Smith
tly on the back straight for completion, it's very stable (been using it myself for months). Try checking out the jakarta-log4j module from CVS, and running "ant chainsaw" (copy the build.properties.sample to suit your needs) cheers, Paul Smith

RE: duplicate logging?

2003-08-27 Thread Paul Smith
t: http://jakarta.apache.org/log4j/docs/manual.html (see the section on Appender additivity). cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: org/apache/log4j/Category problem

2003-08-27 Thread Paul Smith
;t forget Ceki's book, https://www.qos.ch/shop/products/clm_t.jsp you'll be kicking goals in no time with this. Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: org/apache/log4j/Category problem

2003-08-27 Thread Paul Smith
n also save yourself the effort of property configuration code by putting the log4j.properties file physically in the WEB-INF/classes directory of your webapp, Log4j will then find it auto-magically. cheers, Paul Smith - To uns

Re: discreet log types

2003-08-14 Thread Paul Smith
even be worth a nice Wiki page outlining your ideas, and how you accomplished them. I'm sure other people would appreciate it if you have the time. (see http://nagoya.apache.org/wiki/apachewiki.cgi?Log4JProjectPages) cheers, Paul Smith ---

Re: discreet log types

2003-08-14 Thread Paul Smith
On Fri, 2003-08-15 at 10:52, Larry Young wrote: > Paul, > > Yes, I need to be able to specify which class may display which > set of discreet types. For example, I might have "com.*" allowed to > display ERROR, but then override that for "com.xyz.MyClass" to display only > TIMING, "c

Re: [ newbie ]

2003-08-14 Thread Paul Smith
about Log4j, it is excellent reading: https://www.qos.ch/shop/products/clm_t.jsp hope this helps! cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: discreet log types

2003-08-14 Thread Paul Smith
Appender via the configuration. You could configure this Filter impl with some configuration as to what classes you want to see output. Hope that makes sense. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTEC

RE: Instant Logging Article

2003-08-14 Thread Paul Smith
uthor and arranging the official donation to log4j? Given the article Scott Heaberlin pointed to, it seems the author is keen to donate it to Log4j. I'm not sure where to proceed here regarding official donation stuff. I can help shepherd anything into the sandbox. cheer

Re: Instant Logging Article

2003-08-14 Thread Paul Smith
I could really use something like this myself. Could we perhaps ask if the author might be in a position to be able to donate the source code into the sandbox? cheers, Paul On Thu, 2003-08-14 at 06:14, Ceki Gülcü wrote: > I hadn't seen it before. Really well written and informative article. >

Re: discreet log types

2003-07-30 Thread Paul Smith
h(file, watchTime) method, plus the DOMConfigurator obviously has this too). I hope this helps you. cheers, Paul Smith On Thu, 2003-07-31 at 09:25, Larry Young wrote: > Hello, > > I'm looking at creating a logging package for our applications > (web & non-web). The reason f

Re: Chainsaw 2 filtering wishes...

2003-07-30 Thread Paul Smith
On Wed, 2003-07-30 at 17:14, Max Rydahl Andersen wrote: > >>2. Any way to show elapsed time between visible rows - instead of just > >>the event time ? > >> > >> > > > >That's probably a performance killer at this stage. We could probably > >easily allow you to Select two rows, and provide ei

Re: Chainsaw 2 filtering wishes...

2003-07-29 Thread Paul Smith
ents/children > levels) Got a link for Lumbermill? (too busy, I mean lazy, to do a google search). cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Chainsaw 2 filtering problems...

2003-07-29 Thread Paul Smith
text box, let us know what it says. cheers, Paul Smith On Tue, 2003-07-29 at 17:12, Max Rydahl Andersen wrote: > I actually also meant '.*' .- and it ain't make any difference - > everything is still just filtered away. > > .*e.* does the same thing.... > > /m

Re: Chainsaw 2 filtering problems...

2003-07-28 Thread Paul Smith
up being wrong) try ".*blah.*". Any other Chainsaw 2 feedback very welcome. cheers, Paul Smith (Co-dev-type-guy of Chainsaw2, alas swamped by job at the moment) On Tue, 2003-07-29 at 16:39, Max Rydahl Andersen wrote: > Hi! > > First: I like the new Chainsaw 2 ;) > > Sec

RE: Log4j presentation at ApacheCon 2003

2003-07-22 Thread Paul Smith
t want to miss out being down here in Oz. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Log4J admin web app

2003-07-18 Thread Paul Smith
Hi Jim, We've been doing a lot of JMX stuff for our app at work, and I'm hooked. Let me know what you're thoughts are, as I'd love to be part of the discussion too, as I am keen to be able to manage the Log4j stuff for our app via JMX. cheers, Paul Smith -Original Mess

RE: tomcat and log4j, again

2003-07-03 Thread Paul Smith
Mmmm, for some reason it is using all the right class loaders to attempt to find the log4j.xml file, but it only uses 1 different methods to try to find log4j.properties. That is odd. Is this a Tomcat 4.1 specific class loader issue? What about trying converting your log4j.properties file into a

[OT] Mail (was RE: Buying the manual from switzerland)

2003-07-03 Thread Paul Smith
I had a package at the front desk. Paul Smith > -Original Message- > From: Ceki Gülcü [mailto:[EMAIL PROTECTED] > Sent: Friday, 4 July 2003 8:31 AM > To: Log4J Users List > Subject: Re: Buying the manual from switzerland > > > Scott, > > Thank you for your

RE: Accessing multiple log files

2003-07-03 Thread Paul Smith
A Timer would involve a separate Thread wouldn't it? Isn't that another no-no in EJB's? cheers, Paul Smith > -Original Message- > From: Milind Rao [mailto:[EMAIL PROTECTED] > Sent: Monday, 30 June 2003 4:43 PM > To: Log4J Users List > Subject: Re

RE: DailyRollingFileAppender - why isn't rollOver protected

2003-07-03 Thread Paul Smith
licies in your own class, first checking if anyone is reading the file, and if it meets at least those requirements, forwarding on the call to the wrapped Policy to do the work. Wrapping is usually my preferred way of doing things, but you may just prefer to sub-class, either works fine. I hope this help

RE: DailyRollingFileAppender - why isn't rollOver protected

2003-06-29 Thread Paul Smith
easier to customize behaviour. Perhaps you could check out the jakarta-log4j module and see his new changes too see if it meets your needs? (we always love feedback! :) ) cheers, Paul Smith > -Original Message- > From: Avner BenHanoch [mailto:[EMAIL PROTECTED] > Sent: Sunday, 29 Jun

RE: is there anything in log4j that can enable me to do this.....?

2003-06-26 Thread Paul Smith
x27;re interested in and react accordingly. (this is all Chainsaw does! :) ) Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Chainsaw V2 - Screenshot

2003-06-18 Thread Paul Smith
List > Subject: RE: Chainsaw V2 - Screenshot > > > I checked out from CVS and built, but I'm not sure where to go from > there. Is there anything that describes what the configuration file > should look like and which additional jars I'll need to run chainsaw? > > -Dave

Chainsaw V2 - Screenshot

2003-06-18 Thread Paul Smith
of CVS, and the configuration files setup for your needs. regards, Paul Smith [Thanks to Olivier Vierlinck for the great idea of putting the link to the image from the Wiki] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: Chainsaw Question

2003-06-17 Thread Paul Smith
can't really think of how Chainsaw will help you here. I'd go with the standard log4j approach, with filters by NDC, or even filter by properties. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Appenders filtering for each file

2003-06-16 Thread Paul Smith
gs off. Hope I make sense, and hope I interpretted your request correctly. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >