Skip to content
  1. Dec 04, 2008
  2. Dec 03, 2008
  3. Dec 02, 2008
    • Ceki Gulcu's avatar
      Fixed LBCORE-67 · 1342b78b
      Ceki Gulcu authored
      I prefer
        try {
          r.lock();
          doSomething();
        } finally  {
          r.unlock();
        }
        
      instead of 
      
        r.lock();
        try {
          doSomething();  
        } finally  {
          r.unlock();
        }
      
        because I think that the lock is held for a shorter time (however small it may be).
        In case r.lock() throws an exception, we are probably screwed in both approaches.
      1342b78b
    • Ceki Gulcu's avatar
      - minor corrections · a7c42ca8
      Ceki Gulcu authored
      a7c42ca8
  4. Dec 01, 2008
  5. Nov 28, 2008
  6. Nov 20, 2008
    • Ceki Gulcu's avatar
      LBCLASSIC-87 · 7e74b625
      Ceki Gulcu authored
      With each call to getLogger() method, LoggerContext will now retrieve the ILoggerFactory afresh from StaticLoggerBinder. 
      This change enables context selectors of native implementations, e.g logback, to work correctly. 
      7e74b625
  7. Nov 18, 2008
  8. Nov 17, 2008
  9. Nov 14, 2008
  10. Nov 13, 2008
    • Ceki Gulcu's avatar
      LBCORE-29 · 57296581
      Ceki Gulcu authored
      Experimental support for multiple JVM's writing to the same file
      57296581
    • Ceki Gulcu's avatar
      LBCORE-29 · 0938ed18
      Ceki Gulcu authored
      Experimental support for multiple JVM's writing to the same file
      0938ed18
  11. Nov 12, 2008
    • Ceki Gulcu's avatar
      The logger and class name converters now consider zero as · ccd50132
      Ceki Gulcu authored
      having special meaning, and will return the simple class name,
      removing the package name prefix. This feature was asked by
      Silvano Maffeis.
          
      ccd50132
    • Ceki Gulcu's avatar
      While working on JMXConfigurator, it became apparent that · 193af67a
      Ceki Gulcu authored
      some components needed to survive resetting of the context. 
      
      For example, when the JMXConfigrator.reload*() methods are invoked, if
      the JMXConfigurator instance is unregistered from the MBeans server
      while the reload*() method is still running, then a
      NullPointerException is thrown from the JMX server. Thus,
      JMXConfigurator needs to survive the resetting of the LoggerContext it
      is attached to. However, when the host application is stopped (or
      restarted), the JMXConfigrator needs to be unregistered from the
      MBeans server, otherwise severe memory leaks occur.
      
      Consequently, LoggerContext now offers two related but distinct
      methods, reset() and stop(). The former should be called if you just
      wish to reset the configuration of the logger context. The former
      should be called when you wish to completely stop the LoggerContext so
      that it can not be reused ever again.
      
      The LoggerContext.shutdownAndReset method no longer exists. (Simply
      deprecating in favor of stop() or reset() seemed too error prone.)
      193af67a
  12. Nov 11, 2008
  13. Nov 10, 2008