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, e-ma
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
a
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]
> Se
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 wa
Interesting idea, my compliments, I'll save your code...
But when I start thinking about it, I'm not sure where I'm going to end up if I
started using this approach. If every application would have an FTP server
running to configure log4j, I would quickly die managing the FTP ports. The
final
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 - Satyam)
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
log4j.logger.opsx.s
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...
log4j.logger.opsx.serv
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:[EM
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
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.(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 you
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
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 ther
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
Chains
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: [EMAI
Certainly - you could define a logger with the name of the class itself,
then effectively squelch it:
via DOMConfigurator:
You can achieve similar results with PropertyConfigurator (see the
online log4j manual) or,
check out The Complete Log4j Manual by Ceki Gulcu
"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:
>
>
>
>
Thanks a lot!
>
> check out The Complete Log4j Manual by Ceki Gulcu
>
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 conf
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
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 uns
a yes, there is one difference in your config and the one I
demonstrated for the individual class:
additivity="false"
Sorry - I didn't explain this earlier. But, Paul seems to have touched
on it in his reply. So you should be set :)
-Scott Heaberlin
> -Original Message-
> From
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
25 matches
Mail list logo