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
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
ing that has to be done in the jnlp file?
Stephen
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---
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
ds them.
Cheers,
Stephen
Phone x59668
Paul Smith
<[EMAI
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
Paul Smith
<[EMAIL PROTECTED]To: Stephen Pain/DMGGM/DMG
UK/[EMAIL PROTECTED]
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
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
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,
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
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
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
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)
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
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
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
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'
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
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
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
r1 = (Logger) o1;
Logger logger2 = (Logger) o2;
;
String logger1Name = null;
String logger2Name = null;
if (logger1 != null) {
logger1Name = (logger1.getName().equals("root") ? ROOT : logger1.getName());
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
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
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
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...
> 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
>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
:
Stephen
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
31 matches
Mail list logo