problem loading xml events to chainsaw

2004-05-20 Thread Stephen Pain
Hi, Been using chainsaw v2 for a couple of days - can't get enough of it, I've introduced the rest of the team to it and we're tidying up the logging in our application to get the most benefit possible, but I'm having a problem loading xml events from a file into chainsaw... When I try this fi

RE: problem loading xml events to chainsaw

2004-05-21 Thread Stephen Pain
ventSet root node. It should be easy to add support for complete documents, but ran out of time for now. Here is an example of an xml file that can be loaded by Chainsaw V2. Hope this helps. -- --- -Original Mes

RE: problem loading xml events to chainsaw

2004-05-21 Thread Stephen Pain
ing that has to be done in the jnlp file? Stephen

RE: problem loading xml events to chainsaw

2004-05-22 Thread Stephen Pain
updated and will be reflected in the web start download when Paul has a chance to update the signed jars. (Paul, if you're reading this, would you mind updating?) I've given you attribution in the release notes - Thanks for finding the issues, Scott -Original Message---

reconnecting to SocketHubAppender

2004-05-22 Thread Stephen Pain
Hi - me again :) I just wrote an email about how I was having problems with a SocketHubReceiver not reconnecting to a SocketHubAppender that got restarted during a bounce of weblogic and asking how I might be able to put a LogManager.shutdown() somewhere. and just before sending it, noticed

RE: reconnecting to SocketHubAppender

2004-05-23 Thread Stephen Pain
ds them. Cheers, Stephen Phone x59668 Paul Smith <[EMAI

JMSReceiver - chainsaw

2004-05-25 Thread Stephen Pain
Hi, Thanks for the improvements to the receiver panel for restarting receivers! I'm now trying to evaluate the JMSReceiver - someone here raised the issue that the SocketHubAppender/Receiver is not password protected, and also there are concerns over the possible performance impact if lots of

RE: JMSReceiver - chainsaw

2004-05-25 Thread Stephen Pain
Paul Smith <[EMAIL PROTECTED]To: Stephen Pain/DMGGM/DMG UK/[EMAIL PROTECTED]

MDC

2004-05-25 Thread Stephen Pain
I hope two questions in one day isn't seen as abusing the mailing list :) We were using MDCs in our PatternLayout before I changed it to XMLLayout - and I've only just realised that we're now missing the info that was contained in the MDC. Can anyone give me an idea of how long it might be befo

RE: MDC

2004-05-25 Thread Stephen Pain
Thanks Paul. After reading the log4j manual I realised that because of the limited way we were using MDC it was an easy switch to NDC - so for now, ie until log4j1.3 is officially released, I'll go with NDC... Sorry, I should have done more research before posting the question. Cheers, Steph

Re: FileAppender file path in a web app

2004-05-26 Thread Stephen Pain
Keith, When we deploy to our managed hosting service, they tell us to use "../logs/filename.log" - obviously this doesn't guarantee that the same will work for you, but it does demonstrate that relative filenames work! Unfortunately I don't have access to tell you exactly where ../ points to,

[chainsaw] Receiver performance when "OFF"

2004-05-26 Thread Stephen Pain
Morning all, Would it be a big job to change the receivers so that when they're set to "OFF", they disconnect from the server (I'm thinking specifically about SocketHubAppender/Receivers here but the same probably applies to all network based receivers). Then they would need to reconnect if t

XML file loading in chainsaw - adding threshold

2004-06-07 Thread Stephen Pain
Hi, I've just struggled to load a huge (100+MB) file into chainsaw when all I was interested in were the errors for some analysis I needed to do. Having a cyclic buffer is helpful, but if there are a load of debug messages you're not interested in, you can end up losing the more important mes

chainsaw default format for detail panel + xmlfile loading

2004-06-11 Thread Stephen Pain
Based on my experience so far with chainsaw, I don't think it's possible to save the layout of the detail panel. So I have a small request - can the %throwable be surrounded by ? It makes it much easier to read, IMHO. For quick copy-paste if someone (Scott/Paul?) agrees: Throwable%throwable

log4j initialization - weblogic- ear file

2004-06-15 Thread Stephen Pain
Hi, Reading the manual I found the example Initialization servlet. I've tried to get this working in our app but I'm experiencing problems because getServletContext().getRealPath("/") returns null (Having spent a while googling, I think this is because I'm packaging everything in an ear file)

RE: One file for every thread

2004-07-15 Thread Stephen Pain
chainsaw also makes it easy to split a log into separate threads... as well as providing lots of other useful features! http://logging.apache.org/log4j/docs/chainsaw.html cheers, Stephen

chainsaw expressions

2004-07-16 Thread Stephen Pain
Hi all, I've been trying to use an expression something like this to refine the focus: !(MSG ~= counterpart) and it's not working... I get "invalid partial text rule - !(MSG is not a valid field" in a tooltip when I hover the mouse over the expression. I've tried moving the ! around a bi

RE: chainsaw expressions

2004-07-16 Thread Stephen Pain
e focus' is in use). I'll work on getting this fixed as well. Hope this helps, Scott -Original Message- From:Stephen Pain [mailto:[EMAIL PROTECTED] Sent:Fri 7/16/2004 4:38 AM To: [EMAIL PROTECTED] Cc: Subject: chainsaw expressions Hi all, I

save filtered events from chainsaw

2004-07-20 Thread Stephen Pain
Hi all, I don't think it's currently possible to do this in chainsaw - please correct me if I'm wrong... I'd like to be able to use chainsaw to filter events, and then save those events to a file, but ONLY those events that were still visible after the filter was applied. The reason is that I'

RE: save filtered events from chainsaw

2004-07-20 Thread Stephen Pain
Good idea, Stephen It may be worth having the save always based on the filtered (currently displayed) events. Scott -Original Message- From: Stephen Pain [mailto:[EMAIL

Re: Chainsaw v2 tab names and a few more general questions

2004-07-29 Thread Stephen Pain
I can answer some of these... 1) have a look at your Tab Identifier in Application-Wide preferences... you might find that by changing that you can make the log events split across tabs that are even more useful to you than your original setup. 2) enable your webstart console (assuming you're

Re: generating log4j.xml

2004-08-20 Thread Stephen Pain
This reminds me, I made changes to the Log4jAdmin page that I didn't get round to making public yet - I replaced the dropdown box with a set of radio boxes next to each logger, making it much easier (I think) to update the configuration. I also added an "INHERITED" level (just sets the thresho

Re: generating log4j.xml

2004-08-20 Thread Stephen Pain
r1 = (Logger) o1; Logger logger2 = (Logger) o2; ; String logger1Name = null; String logger2Name = null; if (logger1 != null) { logger1Name = (logger1.getName().equals("root") ? ROOT : logger1.getName());

RE: chainsaw for viewing messages remotely??

2004-08-25 Thread Stephen Pain
Amit - you just need to define a second , in the chainsaw config file, this time specifying the second file name - chainsaw will then create two receivers, with the log from each going into a separate tab in chainsaw (by default, although the tab(s) that the events get sent to can be conf

RE: chainsaw for viewing messages remotely??

2004-08-25 Thread Stephen Pain
to randomly select any one of these log files and view it in chainsaw. Any help available?? amit -Original Message- From: Stephen Pain [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 2:16 PM To: Log4J Users List Subject: RE: chainsaw for viewing messages remotely?? Amit

Re: WebLogic 8.1 and Chainsaw

2004-09-17 Thread Stephen Pain
We were using chainsaw to monitor WL 8.1 too, using a SocketHubAppender (so that multiple chainsaw clients could easily connect to receive the logs) - it's especially useful for us because we don't have direct access to the drive that hosts the log files (we have to access them via a web portal

Re: chainsaw filtering

2004-09-20 Thread Stephen Pain
this could get complicated if there were two people using chainsaw connected to the same appender (which is possible with a SocketHubAppender) - and one wants to see DEBUG, the other only WARN and above...

Re: WebLogic 8.1 and Chainsaw

2004-09-22 Thread Stephen Pain
> Coming back to the problem at hand, we should investigate why chainsaw > blocks after a while, because if chainsaw is blocked, all > AsyncAppender can do is to delay disaster by only a few seconds or at > most few minutes. I haven't found (or tried to find) a guaranteed way to rep

Re: Still PropertyConfigurator.configure(...)

2004-09-23 Thread Stephen Pain
>I need to reload logging configuration from file at runtime. >(I cannot use configureAndWatch()) >What's the correct method? >Calling again PropertyConfigurator.configure(...) nothing happens. Is it possible that you've set levels using setLevel, but in the config file they're just inherited f

RE: Regarding Use of MDC/NDC

2005-03-02 Thread Stephen Pain
: Stephen

Re: Large log files chainsaw

2005-05-17 Thread Stephen Pain
Hi Andreas, We have large log files as well (between 300MB - 1.5GB per day of pattern layout output). The solution we use, which has its disadvantages admittedly in terms of performance and disk space, is to use two different appenders - one using pattern layout and the other using xml layout