- Dec 18, 2008
-
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
- BasicStatusMessages's internal buffer now has two parts, the head part and the tail part.
-
Ceki Gulcu authored
-
- Dec 17, 2008
-
-
Ceki Gulcu authored
-
- Dec 12, 2008
-
-
Ceki Gulcu authored
- Initial commit of HoardingAppender HoardingAppender contains other appenders which it can build dynamically depending on MDC values. The built appender is specified as part of a configuration file. Here is an example. <configuration debug="true"> <appender name="HOARD" class="ch.qos.logback.classic.hoard.HoardingAppender"> <mdcKey>userid</mdcKey> <hoard> <!-- you can put any appender here --> <appender name="file-${userid}" class="ch.qos.logback.core.FileAppender"> <File>${userid}.log</File> <Append>true</Append> <layout class="ch.qos.logback.classic.PatternLayout"> <Pattern>%d [%thread] %level %logger{35} - %msg%n</Pattern> </layout> </appender> </hoard> </appender> <root level="DEBUG"> <appender-ref ref="HOARD" /> </root> </configuration> A new file appender will be built each according to the MDC value associated with the key "userid" when a logging event occurs. The above configuration file will ventilate logging into log files named after the userid. - Added PropertyContainer interface - Context interface now extends PropertyContainer - InterpretationContext implements PropertyContainer It now has a field called propertiesMap which has precedence over values placed in the context - InterpretationContext.getSubstitutionProperty was renamed as getProperty - It is now possible to initialize a joran Interpreter with an initial (not empty) pattern This is still very much ongoing work.
-
- Dec 10, 2008
-
-
Ceki Gulcu authored
Fix LBCORE-78. AsynchronousCompressor shuts down the executor it created, thus avoiding a memory leak.
-
- Dec 05, 2008
-
-
Ceki Gulcu authored
- cosmetic changes in Context
-
Ceki Gulcu authored
Removed 'synchronized' keyword from the incSize() and size() methods. Synchronization was causing a deadlock described in LBCLASSIC-81 These two methods are used internally by logback for testing purposes.
-
Ceki Gulcu authored
The getEffectiveLevel() method needs to be synchronized to protect against concurrent modification when iterating over childrenList.iterator().
-
Ceki Gulcu authored
the collection returned by Collections.synchronizedList()
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
- preparing release 0.9.13 - minor doc changes
-
Ceki Gulcu authored
An NPE would be thrown when setting the level of a logger to null, if the logger in question had children.
-
- Dec 04, 2008
-
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
- removed slf4j-ext declaration from the parent pom. In child modules the slf4j-ext was being inserted in compile scope instead of test scope. - updated documentation in relation to contextName and insertFromJNDI configuration directives.
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
-
Ceki Gulcu authored
- migrated some tests to JUnit4 format - other cosmetic changes
-
Ceki Gulcu authored
-
Ceki Gulcu authored
Fixes LBCLASSIC-90. Logger reset set logger levels to NULL, except for the root logger which gets set to DEBUG.
-
Ceki Gulcu authored
See also LBCLASSIC-43 - cosmetic changes
-
- Dec 03, 2008
-
-
Ceki Gulcu authored
Added an FAQ entry: Is it possible for multiple JEE applications to share the same configuration file but without stepping on each other's toes? Related to LBCLASSIC-42
-
Ceki Gulcu authored
- converted all tests in logback-core to JUnit 4
-
Ceki Gulcu authored
-
- Dec 02, 2008
-
-
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.
-
Ceki Gulcu authored
-
- Dec 01, 2008
-
-
Ceki Gulcu authored
-
- Nov 28, 2008
-
-
Ceki Gulcu authored
- relevant test cases
-
Ceki Gulcu authored
-
Ceki Gulcu authored
- logback now uses slf4j version 1.5.6 - ContextJNDISelector was refactored. The config file name for a new logger context is based on convention "logback-CONTEXTNAME.xml" This obviates the need to set the "logback/configuration-resource" JNDI env-entry.
-
Ceki Gulcu authored
-
- Nov 20, 2008
-
-
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.
-
- Nov 18, 2008
-
-
Ceki Gulcu authored
-
Ceki Gulcu authored
logback can succeed even in presence of recursive calls to LoggerFactory.getLogger (invoked during the initialization of logback). See also http://bugzilla.slf4j.org/show_bug.cgi?id=106 and http://jira.qos.ch/browse/LBCORE-47 This test fails if SLF4J 1.5.5 is used. Related to http://bugzilla.slf4j.org/show_bug.cgi?id=113 and http://jira.qos.ch/browse/LBCORE-51
-