cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5883) Switch to Logback
Date Wed, 14 Aug 2013 21:35:48 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius updated CASSANDRA-5883:
------------------------------------

    Attachment: 5883.txt

notes:
 
   reloading is done by attribute in xml file, so i'm assuming the functionality in initLog4j()
is no longer needed

   added a duplicate message filter which removes dups after 5

   used a standard pattern. folks might want to alter the format. let me know.


logback looks for logback-test.xml first, then logback.xml so specifying loggers for test
as -D props not needed.

changed the jmx name to just setLoggingLevel (removing reference to log4j in name)
                
> Switch to Logback
> -----------------
>
>                 Key: CASSANDRA-5883
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5883
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Tools
>            Reporter: Jonathan Ellis
>            Assignee: Dave Brosius
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: 5883.txt
>
>
> Logback has a number of advantages over log4j, and switching will be straightforward
since we are already using the slf4j translation layer: http://logback.qos.ch/reasonsToSwitch.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message