title: Logging levels - Logback - rule-of-thumb to assign log levels
body: <p>I'm using <a href="http://logback.qos.ch/" rel="noreferrer">logback</a> in my current project.</p>
  
  <p>It offers six levels of logging: TRACE  DEBUG   INFO    WARN    ERROR   OFF</p>
  
  <p>I'm looking for a rule of thumb to determine the log level for common activities.
  For instance, if a thread is locked, should the log message be set to the debug level or the info level.
  Or if a socket is being used, should its specific id be logged at the debug level or the trace level.</p>
  
  <p>I will appreciate answers with more examples for each logging level. </p>