Hi,
I’m starting to look into improving the logging in our app.
I read about “Logging”:
http://logging.rubyforge.org/
Anyone else using it with JRuby?
I started to configure it and it look promising - although so far RSpec
and Rack are barfing on it. See details:
https://trisano.csinitiative.net/wiki/TriSanoLogging
Mike
Mike H.
Program Manager, Collaborative Software Initiative
Portland, Or 97258
http://www.csinitiative.com
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Move the require to after the require of config/boot.rb, or require
rubygems manually and see if that helps. I’m not seeing any of the
rubygems require wrappers in that backtrace, which are normally
activated in boot.rb.
I don’t know much about Rails logging, but you may want to define
RAILS_DEFAULT_LOGGER, unless config.logger does it for you.
-todd[1]
On Sun, Oct 12, 2008 at 2:29 AM, Mike H. [email protected]
wrote:
Rack are barfing on it. See details:
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
–
CONFIDENTIALITY NOTICE: This email is for sole use of intended
recipient(s). Unauthorized use is prohibited.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Thanks Todd - that made RSpec happy.
I’m not seeing any logging from Tomcat / Rack tho. I’ll look into that.
Let me know if you have any ideas on that.
Mike
Mike H.
Program Manager, Collaborative Software Initiative
[email protected]
http://www.csinitiative.com
Todd W. wrote:
On Sun, Oct 12, 2008 at 2:29 AM, Mike H. [email protected] wrote:
Rack are barfing on it. See details:
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Make sure you’re not trying to log inside the .war file. I.E. provide
a full path to a directory on the server, not something internal to
the packaged app, underneath RAILS_ROOT.
-todd[1]
On Sun, Oct 12, 2008 at 2:25 PM, Mike H. [email protected]
wrote:
[email protected]
I don’t know much about Rails logging, but you may want to define
Mike
–
CONFIDENTIALITY NOTICE: This email is for sole use of intended
recipient(s). Unauthorized use is prohibited.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email