Hi David,
I know glassfish logged to the rails log files (development, test,
production) not sure if you could steal from there.
Thanks,
Brandon
From: David C. [mailto:[email protected]]
Sent: Wednesday, August 25, 2010 3:18 PM
To: [email protected]
Subject: Re: [jruby-user] Logging with Trinidad?
Actually Trinidad doesn’t handle the loggin by default, it’s just a
wrapper for JRuby-Rack. My guess is that I haven’t configured jruby-rack
logging properly. These are the logging methods that JRuby-Rack
supports:
put(“commons_logging”,
“org.jruby.rack.logging.CommonsLoggingLogger”);
put(“clogging”,
“org.jruby.rack.logging.CommonsLoggingLogger”);
put(“slf4j”, “org.jruby.rack.logging.Slf4jLogger”);
put(“servlet_context”,
“org.jruby.rack.logging.ServletContextLogger”);
put(“stdout”,
“org.jruby.rack.logging.StandardOutLogger”);
By default it uses “serviet_context” which means that’s the server who
manages the logging finally. Those values can be changes setting the
java property “jruby.rack.logging” but I didn’t test it yet.
As Brandon says the logging extension gives you more flexibility, you
can configure filters or log rotations for instance, but the initial
configuration issue should be solved.
Any help will be really appreciated.
Cheers
On Wed, Aug 25, 2010 at 9:47 PM, Brandon H.
[email protected] wrote:
It seems to write to trinidad.log by default. There is an extension
giving some more logging flexibility at