JRuby-Rack forces all logging to INFO level 
--------------------------------------------

                 Key: JRUBY-6179
                 URL: https://jira.codehaus.org/browse/JRUBY-6179
             Project: JRuby
          Issue Type: Bug
          Components: JRuby-extras
    Affects Versions: JRuby 1.7
         Environment: Tomcat7 using log4j as a logging backend, jruby 1.7, java7
            Reporter: Tom Germano


The following rails code:

Rails.logger.info  "-------------------- info"
Rails.logger.warn  "-------------------- warn"
Rails.logger.error "-------------------- error"

Will output the following log where all the messages are at the level INFO 
instead of different log levels:

INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/]- 
-------------------- info#012
INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/]- 
-------------------- warn#012
INFO  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/]- 
-------------------- error#012



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to