thanks for the interest...
I too am using commons-logging with log4j.
However, bizzare things happen:
on jetty launch (from within eclipse)
the log file (defined in log4j.properties) is created,
but then nothing is appended to it, nor to the console.
Instead, at the console I get many messages from jetty's logger
the first one being
INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:109)
I wouldn't mind with that, but this logger runs at the INFO level
and not at the DEBUG, so i can't see my (debug) messages there...
So, to recap:
1) Jetty's logger seems to pop in, in place of commons-logging
2) There isn't an easy way to configure jetty's logger to the debug level
(at least without having to write a custom jetty.xml and use that in the launcher)
Any ideas?
Eelco Hillenius wrote:
I also use Log4J all the time (though together with with commons logging), and I don't have to do anything special for it to work... Could you give me more details (which version of Jetty, how do you start up Log4J, or do you use commons logging as well)?
Regards,
Eelco
Andreas Andreou wrote:
Hi, Is there a simple workaround for enabling log4j with jetty launcher? I always get the Jetty's internal logging system when using the launcher.
And i would prefer not to edit the jetty.xml file, since the plugins takes care of
classpath issues very smoothly, and I'ld have to do this by hand...
Andreas Andreou http://andyhot.di.uoa.gr
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Jettylauncher-plugin mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jettylauncher-plugin
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Jettylauncher-plugin mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jettylauncher-plugin
------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Jettylauncher-plugin mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jettylauncher-plugin
