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)?
servus uli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi!
log4j is great, but I think that
PropertyConfigurator.configureAndWatch(String configFilename) is not good
enough for
dynamic modification, as you have to wait until the delay so that your
modification are taken into account.
So I imagine a solution: to put a *very* little FTP server in the
hi roques,
when using the configureAndWatch( String configFilename, long delay)
the required delay can be set instead of going for the default delay.
what do u say?
--abhishek
-Original Message-
From: ROQUES Arnaud - NTR ( [EMAIL PROTECTED] )
[SMTP:[EMAIL PROTECTED]
Sent:
I think that Mark will find this fascinating. I sure do.
At 03:00 PM 12/8/2003 +0100, ROQUES Arnaud - NTR (
[EMAIL PROTECTED] ) wrote:
Hi!
log4j is great, but I think that
PropertyConfigurator.configureAndWatch(String configFilename) is not good
enough for
dynamic modification, as you have to
Hi,
Of course, it is possible to reduce the delay, but setting it to 1 second
for example will decrease perfs...
And even 10 seconds, which is quite a short time, is too long when you
want your modification *now*!
Regards,
Arnaud.
-Message d'origine-
De : Singh, Abhishek (ODC -
I'd like to have 2 separate parts of my code log to the same file
because they share functionality. However I'm getting a class cast
exception when I specify the following in my log config file...
log4j.logger.opsx.server.db = DEBUG, A3
log4j.additivity.opsx.server.db = false
Can you provide the exception?
At 11:33 AM 12/8/2003 -0800, Alan Brown wrote:
I'd like to have 2 separate parts of my code log to the same file
because they share functionality. However I'm getting a class cast
exception when I specify the following in my log config file...
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 message
without stack trace. Attached is my log4j.xml file. Anybody knows why?
Thanks.
Song
Robert Augustyn [EMAIL PROTECTED] wrote in message
news:[EMAIL
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 a
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);
}
Then you WILL only get the error message without the rest of the stack
trace. The reason is that the exception is going
D'oh... I am assuming from the subject line that you are already doing
this.
Perhaps I should have paid more attention. Sorry for the waste of
bandwidth.
I'll now go and make my first coffee of the day to minimise the risk of
my foot getting anywhere near my mouth again.
cheers,
Paul
On Tue,
I certainly can...
java.lang.ExceptionInInitializerError: java.lang.ClassCastException:
org.apache.log4j.Logger
at opsx.server.dac.OpsTransaction.clinit(OpsTransaction.java:20)
at
opsx.server.kernel.manager.OpsTransactionManager.createTransaction(OpsTransactionManager.java:37)
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 work on chainsaw as opposed to logFactor ?
Thank you for
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 work
In the LoggEvent class, there are two methods, one is getRenderedMessage(),
another is getThrowableInformation(). My understand is that
getRenderedMessage() return log message and getThrowableInformation()
returns stack trace.
My understand is that based on my pattern, there is a '%.300m' in
I wanted a log analysis tool that provided more powerful features than
LogFactor 5 or Chainsaw currently supported (regular-expression based
color and display filters, JTabbedPane-based panels that could be
docked/undocked).
So I started developing the tool, taking advantage of the original
Hi,
Can I do something like this :
For specific class in certain package, don't log the event using specific
appender while allowing other classes in the same package to do that?
Thanks.
Song
-
To unsubscribe, e-mail:
Certainly - you could define a logger with the name of the class itself,
then effectively squelch it:
via DOMConfigurator:
logger name=com.mycompany.myproduct.MyClass additivity=false
level value=FATAL/ !-- I believe you can also specify NONE
--
/logger
logger name=com.mycompany.myproduct
Scott Heaberlin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Certainly - you could define a logger with the name of the class itself,
then effectively squelch it:
via DOMConfigurator:
logger name=com.mycompany.myproduct.MyClass additivity=false
level value=FATAL/ !-- I
It seems that root config will override the logger config, is this true?
Give the following configuration, I still see error event from
EventLoggerSessionEJB logged into database. But if I change the logging
level from 'INFO' to 'FATAL', the event will not be logged.
Here is part of my log4j
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,
Your BuddyScript Server is not connected to BSCS! For instructions, see
http://bscs.buddyscript.com/smarterchild/
Build your own SmarterChild! Download BuddyScript SDK for FREE today at
http://buddyscript.com/.
-
To
hi paul,
sometimes because of the lack of coffee i hit accidently the cross of the
right upper corner
of the window. so i thought it would be nice to be asked if i want to exit.
the suggestion with the global settings would be a good thing.
ciao uli
23 matches
Mail list logo