hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John L. Singleton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ZOOKEEPER-912) ZooKeeper client logs trace and debug messages at level INFO
Date Thu, 04 Nov 2010 20:40:42 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928342#action_12928342

John L. Singleton commented on ZOOKEEPER-912:

If I could weigh in on this one too: 

"What's your rule of thumb for what should be logged at the various levels?"


WARN: Recoverable errors
ERROR: Non-recoverable errors
INFO: Non error conditions pertaining operation, eg, for a SERVER side program, tell me that
someone connected, but don't give me all the details about session establishment, etc. For
a CLIENT side program, all these details should be omitted. 
TRACE:  Information used for extended debugging, suitable for developers/contributors 
DEBUG: Information used for basic debugging, suitable for end users 

> ZooKeeper client logs trace and debug messages at level INFO
> ------------------------------------------------------------
>                 Key: ZOOKEEPER-912
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-912
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: java client
>    Affects Versions: 3.3.1
>            Reporter: Anthony Urso
>            Assignee: Anthony Urso
>            Priority: Minor
>             Fix For: 3.4.0
>         Attachments: zk-loglevel.patch
> ZK logs a lot of uninformative trace and debug messages to level INFO.  This fuzzes up
everything and makes it easy to miss useful log info. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message