A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Licensed to the Apache Software Foundation (ASF) under one or more 4 contributor license agreements. See the NOTICE file distributed with 5 this work for additional information regarding copyright ownership. 6 The ASF licenses this file to You under the Apache License, Version 2.0 7 (the "License"); you may not use this file except in compliance with 8 the License. You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 --> 18 <document xmlns="http://maven.apache.org/changes/1.0.0" 19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 20 xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd"> 21 <properties> 22 <title>Changes</title> 23 </properties> 24 <body> 25 <!-- NOTE: the text node in an action element is interpreted as Markdown in the release notes! --> 26 <!-- The "type" attribute can have the following values: 27 - "add" - New Feature 28 - "fix" - Fixed Bug 29 - "update" - Change 30 - "remove" - Removed 31 --> 32 <release version="2.12.4" date="2021-12-28" description="GA Release 2.12.4"> 33 <action issue="LOG4J2-3293" dev="ggregory" type="fix"> 34 JdbcAppender now uses JndiManager to access JNDI resources. JNDI is only enabled when system property 35 log4j2.enableJndiJdbc is set to true. 36 </action> 37 </release> 38 <release version="2.12.3" date="2021-12-dd" description="GA Release 2.12.3"> 39 <action issue="LOG4J2-3230" dev="ckozak" type="fix"> 40 Fix string substitution recursion. 41 </action> 42 <action issue="LOG4J2-2819" dev="mattsicker" type="update"> 43 Add support for specifying an SSL configuration for SmtpAppender. 44 </action> 45 <action issue="LOG4J2-3242" dev="ggregory" type="update"> 46 Rename JNDI enablement property from 'log4j2.enableJndi' 47 to 'log4j2.enableJndiLookup', 'log4j2.enableJndiJms', and 48 'log4j2.enableJndiContextSelector'. 49 </action> 50 </release> 51 <release version="2.12.2" date="2021-12-14" description="GA Release 2.12.2"> 52 <action issue="LOG4J-3220" dev="rgoers" type="fix"> 53 Disable JNDI by default, remove JNDI Lookup, remove message lookups. When enabled JNDI only supports the 54 java protocol. 55 </action> 56 </release> 57 <release version="2.12.1" date="2019-08-06" description="GA Release 2.12.1"> 58 <action issue="LOG4J2-1946" dev="rgoers" type="fix" due-to="Igor Perelyotov"> 59 Allow file renames to work when files are missing from the sequence. 60 </action> 61 <action issue="LOG4J2-2650" dev="rgoers" type="fix" due-to="Mattia Bertorello"> 62 Support emulating a MAC address when using ipv6. 63 </action> 64 <action issue="LOG4J2-2366" dev="rgoers" type="fix"> 65 Remove references to LoggerContext when it is shutdown. 66 </action> 67 <action issue="LOG4J2-2556" dev="rgoers" type="update"> 68 Make Log4j Core optional for Log4j 1.2 API. 69 </action> 70 <action issue="LOG4J2-2644" dev="rgoers" type="fix"> 71 Improve the performance of capturing location information. 72 </action> 73 <action issue="LOG4J2-2646" dev="ggregory" type="update"> 74 Update MongoDB 3 driver from 3.10.1 to 3.10.2. 75 </action> 76 <action issue="LOG4J2-2657" dev="ggregory" type="update"> 77 Improve exception messages in the JDBC appender. 78 </action> 79 <action issue="LOG4J2-2658" dev="ckozak" type="fix"> 80 AbstractAction.reportException records a warning to the status logger, providing more information when file 81 based appenders fail to compress rolled data asynchronously. 82 </action> 83 <action issue="LOG4J2-2659" dev="ckozak" type="fix"> 84 AbstractAction handles and records unchecked RuntimeException and Error in addition to IOException. 85 </action> 86 <action issue="LOG4J2-2660" dev="ggregory" type="update"> 87 Retry when JDBC throws a java.sql.SQLTransactionRollbackException in commitAndClose(). 88 </action> 89 <action issue="LOG4J2-2667" dev="ggregory" type="fix" due-to="Gary Gregory, Edith Chui"> 90 "Values not bound to statement" when using JDBC appender, appender does not respect bufferSize="0". 91 </action> 92 </release> 93 <release version="2.12.0" date="2019-06-23" description="GA Release 2.12.0"> 94 <action issue="LOG4J2-2547" dev="rgoers" type="fix"> 95 RollingRandomAccessFileAppender error message referenced incorrect class name. 96 </action> 97 <action issue="LOG4J2-2616" dev="rgoers" type="fix"> 98 Restore constructor to ThrowablePatternConverter that was removed in 2.8.2. 99 </action> 100 <action issue="LOG4J2-2622" dev="rgoers" type="fix"> 101 StructuredDataId was ignoring maxLength atribute. 102 </action> 103 <action issue="LOG4J2-2636" dev="rgoers" type="fix"> 104 RFC5424Layout was not properly setting default Structured Element id for the MDC 105 </action> 106 <action issue="LOG4J2-2403" dev="rgoers" type="add" due-to="hupfdule"> 107 Allow zero padding the counter of a RollingFileAppender. 108 </action> 109 <action issue="LOG4J2-2427" dev="rgoers" type="add" due-to="Rimaljit Kaur"> 110 Add filter that will match events when no marker is present. 111 </action> 112 <action issue="LOG4J2-1143" dev="rgoers" type="fix" due-to="Pascal Heinrich"> 113 Lookups were not found if the plugin key was not lowercase. 114 </action> 115 <action issue="LOG4J2-2406" dev="rgoers" type="add"> 116 Add reconfiguration methods to Configurator. 117 </action> 118 <action issue="LOG4J2-1852" dev="rgoers" type="fix" due-to="Tanner Altares"> 119 Locate plugins within a Jar using a URL Connection. 120 </action> 121 <action issue="LOG4J2-2610" dev="rgoers" type="fix"> 122 Explicitly set file creation time. 123 </action> 124 <action issue="LOG4J2-2561" dev="rgoers" type="fix" due-to="Ulrich Enslin"> 125 JEP223 version detection fix for JDK 9 and up. 126 </action> 127 <action issue="LOG4J2-1103" dev="rgoers" type="fix" due-to="Seán Dunne"> 128 FailoverAppender was failing with ERROR appender Failover has no parameter that matches element Failovers. 129 </action> 130 <action issue="LOG4J2-2602" dev="rgoers" type="fix"> 131 Update file time when size based triggering policy is used without a time-based triggering policy. 132 </action> 133 <action issue="LOG4J2-2597" dev="rgoers" type="fix"> 134 Throw better exception message when both log4j-slf4j-impl and log4j-to-slf4j are present. 135 </action> 136 <action issue="LOG4J2-913" dev="rgoers" type="add"> 137 Add support for reconfiguration via HTTP(S), Docker, and Spring Cloud Configuration. 138 </action> 139 <action issue="LOG4J2-2586" dev="rgoers" type="add"> 140 TCP Appender should support a host name resolving to multiple IP addresses. 141 </action> 142 <action issue="LOG4J2-2559" dev="ggregory" type="fix" due-to="Li Lei, Gary Gregory"> 143 NullPointerException in JdbcAppender.createAppender(). 144 </action> 145 <action dev="ggregory" type="update" due-to="Gary Gregory"> 146 Update tests from H2 1.4.197 to 1.4.199. 147 </action> 148 <action issue="LOG4J2-2570" dev="ggregory" type="update" due-to="Gary Gregory"> 149 Update Jackson from 2.9.7 to 2.9.8. 150 </action> 151 <action issue="LOG4J2-2574" dev="ggregory" type="update" due-to="Gary Gregory"> 152 Update MongoDB 3 module driver from 3.9.0 to 3.10.1. 153 </action> 154 <action issue="LOG4J2-2592" dev="ggregory" type="fix" due-to="Dávid Kaya, Gary Gregory"> 155 StackOverflowException when server not reachable with SocketAppender. 156 </action> 157 <action issue="LOG4J2-2337" dev="ggregory" type="add" due-to="Arvind Sahare, Patrice Ferrot"> 158 Allow custom end-of-line with JsonLayout. 159 </action> 160 <action issue="LOG4J2-2598" dev="ckozak" type="add" due-to="Carter Kozak"> 161 GZIP compression on rollover supports configurable compression levels. 162 </action> 163 <action issue="LOG4J2-2598" dev="ggregory" type="fix" due-to="Gary Gregory"> 164 java.lang.StackOverflowError at org.apache.logging.log4j.junit.AbstractExternalFileCleaner.println(AbstractExternalFileCleaner.java:169). 165 </action> 166 <action issue="LOG4J2-2564" dev="ckozak" type="fix"> 167 MapPatternConverter is properly created from the '%K', '%map', and '%MAP' patterns. 168 PatternConverter instanceOf methods with unknown parameter types no longer elide those with known parameters. 169 </action> 170 <action issue="LOG4J2-2611" dev="ckozak" type="add"> 171 AsyncQueueFullPolicy configuration short values "Default" and "Discard" are case insensitive to avoid confusion. 172 </action> 173 <action issue="LOG4J2-2612" dev="ggregory" type="fix"> 174 NullPointerException at org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager.writeInternal(JdbcDatabaseManager.java:803). 175 </action> 176 <action issue="LOG4J2-2618" dev="ggregory" type="fix"> 177 Possible ClassCastException in org.apache.logging.log4j.core.script.ScriptManager.ScriptManager(Configuration, WatchManager) 178 </action> 179 <action issue="LOG4J2-2619" dev="ggregory" type="update"> 180 Update Jackson from 2.9.8 to 2.9.9. 181 </action> 182 <action issue="LOG4J2-2631" dev="ckozak" type="fix"> 183 RoutingAppender PurgePolicy implementations no longer stop appenders referenced from the logger configuration, 184 only those that have been created by the RoutingAppender. Note that RoutingAppender.getAppenders no longer 185 includes entries for referenced appenders, only those which it has created. 186 </action> 187 <action issue="LOG4J2-2629" dev="ckozak" type="fix"> 188 Fix a race allowing events not to be recorded when a RoutingAppender purge policy attempts to delete an idle 189 appender at exactly the same time as a new event is recorded. 190 </action> 191 <action issue="LOG4J2-2606" dev="ckozak" type="fix"> 192 Asynchronous logging when the queue is full no longer results in heavy CPU utilization and low throughput. 193 </action> 194 <action issue="LOG4J2-2634" dev="ckozak" type="update"> 195 Refactor several AsyncLogger methods below the 35 byte threshold for inlining. 196 </action> 197 <action issue="LOG4J2-2634" dev="ggregory" type="add"> 198 Add and use method org.apache.logging.log4j.message.MapMessage.toKey(String) for simpler subclasses. 199 </action> 200 </release> 201 <release version="2.11.2" date="2019-02-04" description="GA Release 2.11.2"> 202 <action issue="LOG4J2-2500" dev="rgoers" type="fix"> 203 Document that Properties element must be the first configuration element. 204 </action> 205 <action issue="LOG4J2-2543" dev="rgoers" type="fix" due-to="Dermot Hardy"> 206 Add Log4j-to-SLF4J to BOM pom.xml. 207 </action> 208 <action issue="LOG4J2-2061" dev="rgoers" type="fix"> 209 Use the file pattern as the FileManager "name" when no filename is present. 210 </action> 211 <action issue="LOG4J2-2009" dev="rgoers" type="fix"> 212 Expose LoggerContext.setConfiguration as a public method. 213 </action> 214 <action issue="LOG4J2-2542" dev="rgoers" type="fix"> 215 CronTriggeringPolicy was not rolling properly, especially when used with the SizeBasedTriggeringPolicy. 216 </action> 217 <action issue="LOG4J2-2266" dev="rgoers" type="fix"> 218 Load PropertySources from any accessible ClassLoader. Hide any exceptions that may occur accessing a PropertySource. 219 </action> 220 <action issue="LOG4J2-1570" dev="rgoers" type="fix"> 221 Logging with a lambda expression with a method call that also logs would cause logs within method call to reference line num and method name of the parent method. 222 </action> 223 <action issue="LOG4J2-1576" dev="rgoers" type="update"> 224 Switch from CLIRR to RevAPI for detecting API changes. 225 </action> 226 <action issue="LOG4J2-2485" dev="rgoers" type="fix" due-to="Giovanni Matteo Fumarola"> 227 SizeBasedTriggeringPolicy was not honored when using the DirectWriteRolloverStrategy if the machine restarts. 228 </action> 229 <action issue="LOG4J2-1906" dev="rgoers" type="fix"> 230 Direct write was creating files with the wrong date/time. 231 </action> 232 <action issue="LOG4J2-2453" dev="rgoers" type="fix" due-to="theit"> 233 Add Log4j-slf4j18-impl dependency to bom pom. 234 </action> 235 <action issue="LOG4J2-2515" dev="rgoers" type="fix" due-to="MakarovS"> 236 Configuration documentation referenced incorrect method name. 237 </action> 238 <action issue="LOG4J2-2514" dev="rgoers" type="fix" due-to="smilebrian0515"> 239 Make Strings.toRootUpperCase a static method so it can be accessed. 240 </action> 241 <action issue="LOG4J2-1571" dev="rgoers" type="fix" due-to="torbenmoeller"> 242 Fixed Appenders section in Extending Log4j. 243 </action> 244 <action issue="LOG4J2-2391" dev="ckozak" type="update"> 245 Improve exception logging performance. ThrowableProxy construction uses a faster 246 method to discover the current stack trace. ThrowablePatternConverter and 247 ExtendedThrowablePatternConverter default configurations no longer allocate 248 an additional buffer for stack trace contents. 249 </action> 250 <action issue="LOG4J2-2397" dev="ggregory" type="fix" due-to="EckelDong"> 251 Predeployment of PersistenceUnit that using Log4j as session logger failed (#198). 252 </action> 253 <action issue="LOG4J2-2365" dev="ckozak" type="fix" due-to="Eugene Zimichev"> 254 NameAbbreviator correctly abbreviates first fragments (#188). 255 </action> 256 <action issue="LOG4J2-2201" dev="ckozak" type="fix"> 257 Fix memory leak in ReusableParameterizedMessage. 258 </action> 259 <action issue="LOG4J2-2363" dev="ckozak" type="fix" due-to="Brian Laub"> 260 ReusableObjectMessage parameter is properly passed to appenders (#203). 261 </action> 262 <action issue="LOG4J2-2418" dev="ggregory" type="fix" due-to="Jonas Rutishauser"> 263 NullPointerException when closing never used RollingRandomAccessFileAppender. 264 </action> 265 <action issue="LOG4J2-2422" dev="ggregory" type="fix" due-to="rswart, Gary Gregory"> 266 Handle some unchecked exceptions while loading plugins. 267 </action> 268 <action issue="LOG4J2-2441" dev="ckozak" type="fix"> 269 Setting a null ErrorHandler on AbstractAppender is not allowed and will no-op as expected. 270 </action> 271 <action issue="LOG4J2-2444" dev="ckozak" type="fix"> 272 ErrorHandler is invoked with a LogEvent and Throwable when possible, where previously only a string was used. 273 </action> 274 <action issue="LOG4J2-2447" dev="ggregory" type="update"> 275 Let the NullAppender default its name to "null". 276 </action> 277 <action issue="LOG4J2-2468" dev="ggregory" type="update"> 278 Update Jackson from 2.9.6 to 2.9.7. 279 </action> 280 <action issue="LOG4J2-2469" dev="ggregory" type="update"> 281 Update Apache Commons Compress from 1.17 to 1.18. 282 </action> 283 <action issue="LOG4J2-2470" dev="ggregory" type="update"> 284 Update Apache Commons CSV from 1.5 to 1.6. 285 </action> 286 <action issue="LOG4J2-2471" dev="ggregory" type="update"> 287 Update javax.mail from 1.6.1 to 1.6.2. 288 </action> 289 <action issue="LOG4J2-2472" dev="ggregory" type="update"> 290 Update mongo-java-driver 3 from 3.8.0 to 3.8.2. 291 </action> 292 <action issue="LOG4J2-2413" dev="ggregory" type="fix" due-to="Andres Luuk, Gary Gregory"> 293 Exceptions are added to all columns when a JDBC Appender's ColumnMapping uses a Pattern. 294 </action> 295 <action issue="LOG4J2-2466" dev="ggregory" type="fix" due-to="Paolo Bonanomi, Gary Gregory"> 296 ColumnMapping literal not working. 297 </action> 298 <action issue="LOG4J2-2478" dev="ckozak" type="fix" due-to="Diego Elias Costa"> 299 AbstractStringLayoutStringEncodingBenchmark returns the computed variables on each benchmark to avoid DCE. 300 </action> 301 <action issue="LOG4J2-2134" dev="ggregory" type="fix" due-to="David del Amo Mateos, Gary Gregory"> 302 StackOverflowError at AwaitCompletionReliabilityStrategy. 303 </action> 304 <action issue="LOG4J2-2481" dev="ggregory" type="fix"> 305 Avoid NullPointerExceptions in org.apache.logging.log4j.core.config.AbstractConfiguration for null arguments. 306 </action> 307 <action issue="LOG4J2-2457" dev="ggregory" type="fix" due-to="Heiko Schwanke, Gary Gregory"> 308 RollingRandomAccessFileManager ignores new file patterns from programmatic reconfiguration. 309 </action> 310 <action issue="LOG4J2-2482" dev="ggregory" type="fix" due-to="Rob Gansevles"> 311 BasicContextSelector cannot be used in a OSGI application. 312 </action> 313 <action issue="LOG4J2-2476" dev="ggregory" type="fix" due-to="Al Bundy"> 314 org.apache.log4j.SimpleLayout and ConsoleAppender missing in log4j-1.2-api. 315 </action> 316 <action issue="LOG4J2-2489" dev="ggregory" type="update"> 317 JDBC Appender should release parameter resources ASAP. 318 </action> 319 <action issue="LOG4J2-2491" dev="ggregory" type="update"> 320 Allow all Appenders to optionally carry a Property array. 321 </action> 322 <action issue="LOG4J2-2497" dev="ggregory" type="fix"> 323 JmsAppender reconnectIntervalMillis cannot be set from a configuration file. 324 </action> 325 <action issue="LOG4J2-2499" dev="ggregory" type="fix"> 326 JMS Appender may throw a NullPointerException when JMS is not up while the Appender is starting. 327 </action> 328 <action issue="LOG4J2-2496" dev="ggregory" type="add"> 329 JDBC Appender should reconnect to the database when a connection goes stale. 330 </action> 331 <action issue="LOG4J2-2405" dev="ggregory" type="update" due-to="Marco Herrn"> 332 Better handling of %highlight pattern when using jul-bridge. 333 </action> 334 <action issue="LOG4J2-2503" dev="ggregory" type="update"> 335 Update MongoDB driver from 3.8.2 to 3.9.0 for log4j-mongodb3 module. 336 </action> 337 <action issue="LOG4J2-2505" dev="ggregory" type="add"> 338 Let JDBC PoolingDriverConnectionSource with Apache Commons DBCP configure a PoolableConnectionFactory. 339 </action> 340 <action issue="LOG4J2-2508" dev="ggregory" type="fix"> 341 JDBC Appender fails when using both parameter, source, and literal ColumnMapping elements. 342 </action> 343 <action issue="LOG4J2-2509" dev="ggregory" type="add"> 344 Allow a JDBC Appender to truncate strings to match a table's metadata column length limit. 345 </action> 346 <action issue="LOG4J2-1246" dev="ggregory" type="add"> 347 PatternLayout %date conversion pattern should render time zone designator for ISO-ISO8601. 348 </action> 349 <action issue="LOG4J2-2527" dev="ckozak" type="fix"> 350 Prevent ConcurrentModificationException while iterating over ListAppender events. 351 </action> 352 <action issue="LOG4J2-2522" dev="ckozak" type="fix" due-to="Adam Lesiak"> 353 Fix regression using MapMessageLookup.lookup with MapMessages that do not implement StringMapMessage. 354 </action> 355 <action issue="LOG4J2-2530" dev="ckozak" type="fix" due-to="Travis Spencer"> 356 Generalize checks using MapMessage implementations with do not extend StringMapMessage. 357 Introduce new JAVA_UNQUOTED MapMessage format type based on the JAVA formatting, but without 358 quoted values. 359 </action> 360 <action issue="LOG4J2-2533" dev="ckozak" type="fix" due-to="Michail Prusakov"> 361 Fix a regression introduced by LOG4J2-2301 in 2.11.1 allowing allocation to occur in AsyncLoggerConfig. 362 </action> 363 </release> 364 <release version="2.11.1" date="2018-07-22" description="GA Release 2.11.1"> 365 <action issue="LOG4J2-2389" dev="rgoers" type="fix" due-to="Liu Wen"> 366 ThrowableProxy was saving and retrieving cache entries using different keys. 367 </action> 368 <action issue="LOG4J2-2316" dev="rgoers" type="fix"> 369 If root LoggerConfig does not have a Level return ERROR. 370 </action> 371 <action issue="LOG4J2-2390" dev="rgoers" type="fix" due-to="anton-balaniuc"> 372 Fix broken links in log4j web documentation. 373 </action> 374 <action issue="LOG4J2-1721" dev="rgoers" type="update" due-to="Phokham Nonava"> 375 Allow composite configuration for context parameter. 376 </action> 377 <action issue="LOG4J2-2343" dev="rgoers" type="fix" due-to="Raymond Augé"> 378 The OSGi Activator specified an incorrect version. 379 </action> 380 <action issue="LOG4J2-2305" dev="rgoers" type="fix" due-to="Björn Kautler"> 381 Make java.util.ServiceLoader properly work in OSGi by using the Service Loader Mediator Specification. 382 </action> 383 <action issue="LOG4J2-2305" dev="rgoers" type="fix"> 384 Split the SLF4J binding into 2 implementations - one for SLF4J 1.7.x and one for SLF4J 1.8+. 385 </action> 386 <action issue="LOG4J2-2268" dev="rgoers" type="fix" due-to="Tilman Hausherr"> 387 Improve plugin error message when elements are missing. 388 </action> 389 <action issue="LOG4J2-2283" dev="ggregory" type="fix" due-to="Vishnu Priya Matha"> 390 ParserConfigurationException when using Log4j with oracle.xml.jaxp.JXDocumentBuilderFactory. 391 </action> 392 <action issue="LOG4J2-2300" dev="ggregory" type="fix"> 393 PoolingDriverConnectionSource does not take into account properties, user name, and password. 394 </action> 395 <action issue="LOG4J2-2302" dev="ggregory" type="update"> 396 Status logger should show the Log4j name and version when initializing itself. 397 </action> 398 <action issue="LOG4J2-2304" dev="ggregory" type="update" due-to="wumengsheng"> 399 Log4j2 2.8.2 JMX unregister NullPointerException. 400 </action> 401 <action issue="LOG4J2-2311" dev="ggregory" type="update"> 402 Update Jackson from 2.9.4 to 2.9.5. 403 </action> 404 <action issue="LOG4J2-2313" dev="ggregory" type="update"> 405 Update LMAX Disruptor from 3.3.7 to 3.4.2. 406 </action> 407 <action issue="LOG4J2-548" dev="ggregory" type="update" due-to="Shehata, Paresh Varke, Eric Victorson, Martin Laforet"> 408 Log4j 2.0 ERROR "Could not search jar" with JBoss EAP 6.2. 409 </action> 410 <action issue="LOG4J2-2307" dev="ckozak" type="fix"> 411 MutableLogEvent and RingBufferLogEvent message mementos retain the original format string. 412 </action> 413 <action issue="LOG4J2-2032" dev="ckozak" type="fix" due-to="Kostiantyn Shchepanovskyi"> 414 Curly braces in parameters are not treated as placeholders. 415 </action> 416 <action issue="LOG4J2-2317" dev="ckozak" type="fix"> 417 MutableLogEvent.getNonNullImmutableMessage and Log4jLogEvent.makeMessageImmutable retain format and parameters. 418 </action> 419 <action issue="LOG4J2-2318" dev="ckozak" type="fix"> 420 Messages are no longer mutated when the asynchronous queue is full. A warning is logged to the status logger instead. 421 </action> 422 <action issue="LOG4J2-2320" dev="ckozak" type="fix"> 423 Fix NPE in AbstractLogger when another exception is thrown, masking the root cause. 424 </action> 425 <action issue="LOG4J2-2321" dev="ckozak" type="fix"> 426 AsyncLogger uses the correct level when unspecified. This provides parity between AsyncLogger and Logger. 427 </action> 428 <action issue="LOG4J2-2322" dev="ckozak" type="fix"> 429 Custom ContextSelector implementations which select an AsyncLoggerContext disable LoggerConfig.includeLocation 430 by default for parity with AsyncLoggerContextSelector. 431 </action> 432 <action issue="LOG4J2-2269" dev="ckozak" type="fix"> 433 MutableLogEvent references to other objects are cleared after each use. 434 Fix a memory leak causing references to parameters to be held after synchronous logging with thread locals enabled. 435 </action> 436 <action issue="LOG4J2-2328" dev="ggregory" type="update"> 437 Update JAnsi from 1.17 to 1.17.1. 438 </action> 439 <action issue="LOG4J2-2301" dev="ckozak" type="fix"> 440 Mixed async loggers no longer forget parameter values, providing some appenders with an array of nulls. 441 </action> 442 <action issue="LOG4J2-2331" dev="ckozak" type="fix" due-to="Mike Baranski"> 443 RollingFileManager debug logging avoids string concatenation and errant braces in favor of parameterized logging. 444 </action> 445 <action issue="LOG4J2-2333" dev="ckozak" type="fix"> 446 Handle errors thrown in default disruptor ExceptionHandler implementations to avoid killing background threads. 447 </action> 448 <action issue="LOG4J2-2334" dev="ggregory" type="fix"> 449 Add API org.apache.logging.log4j.core.appender.AsyncAppender.getQueueSize(). 450 </action> 451 <action issue="LOG4J2-2336" dev="ckozak" type="fix"> 452 Remove duplicate hyphen from the AsyncLoggerConfig background thread name. 453 </action> 454 <action issue="LOG4J2-2347" dev="ggregory" type="fix"> 455 Update Apache Commons Compress from 1.16.1 to 1.17. 456 </action> 457 <action issue="LOG4J2-2351" dev="ckozak" type="update"> 458 Added AbstractLogEvent.getMutableInstant to allow the MutableInstant instance to be modified by classes extending AbstractLogEvent. 459 </action> 460 <action issue="LOG4J2-2352" dev="ckozak" type="fix"> 461 RingBufferLogEvent memento messages provide the expected format string, and no longer attempt to substitute parameters into curly braces in parameter toString values. 462 Both RingBufferLogEvent and MutableLogEvent memento implementations memoize results to avoid rebuilding formatted string values. 463 </action> 464 <action issue="LOG4J2-2355" dev="ckozak" type="fix" due-to="Henrik Brautaset Aronsen"> 465 PropertiesUtil ignores non-string system properties. Fixes a NoClassDefFoundError initializing StatusLogger 466 caused by an NPE while initializing the static PropertiesUtil field. 467 </action> 468 <action issue="LOG4J2-2357" dev="ggregory" type="update"> 469 Update Jackson from 2.9.5 to 2.9.6. 470 </action> 471 <action issue="LOG4J2-2358" dev="ggregory" type="update"> 472 Update Kafka client from 1.0.0 to 1.1.0. 473 </action> 474 <action issue="LOG4J2-2362" dev="ckozak" type="fix"> 475 Fixed a memory leak in which ReusableObjectMessage would hold a reference to the most recently logged object. 476 </action> 477 <action issue="LOG4J2-2312" dev="ckozak" type="fix"> 478 Jackson layouts used with AsyncLoggerContextSelector output the expected format rather than only a JSON string of the message text. 479 </action> 480 <action issue="LOG4J2-2364" dev="ckozak" type="fix"> 481 Fixed a memory leak in which ReusableParameterizedMessage would hold a reference to the most recently 482 logged throwable and provided varargs array. 483 </action> 484 <action issue="LOG4J2-2368" dev="ckozak" type="fix"> 485 Nested logging doesn't clobber AbstractStringLayout cached StringBuidlers 486 </action> 487 <action issue="LOG4J2-2373" dev="ckozak" type="fix" due-to="Kevin Meurer"> 488 StringBuilders.escapeJson implementation runs in linear time. Escaping large JSON strings 489 in EncodingPatternConverter and MapMessage will perform significantly better. 490 </action> 491 <action issue="LOG4J2-2376" dev="ckozak" type="fix" due-to="Kevin Meurer"> 492 StringBuilders.escapeXml implementation runs in linear time. Escaping large XML strings 493 in EncodingPatternConverter and MapMessage will perform significantly better. 494 </action> 495 <action issue="LOG4J2-2377" dev="ggregory" type="fix" due-to="Mirko Rzehak, Gary Gregory"> 496 NullPointerException in org.apache.logging.log4j.util.LoaderUtil.getClassLoaders() when using Bootstrap class loader. 497 </action> 498 <action issue="LOG4J2-2382" dev="ggregory" type="fix"> 499 Update Mongodb 3 driver from 3.6.3 to 3.8.0. 500 </action> 501 <action issue="LOG4J2-2384" dev="ggregory" type="update"> 502 Update Kafka client from 1.1.0 to 1.1.1. 503 </action> 504 <action issue="LOG4J2-2385" dev="ggregory" type="update"> 505 Update Groovy from 2.4.13 to 2.5.1. 506 </action> 507 <action issue="LOG4J2-2386" dev="ggregory" type="update"> 508 Update optional Apache Commons DBCP from 2.2.0 to 2.4.0. 509 </action> 510 <action issue="LOG4J2-2388" dev="ggregory" type="fix" due-to="Failled"> 511 Thread indefinitely blocked when logging a message in an interrupted thread. 512 </action> 513 </release> 514 <release version="2.11.0" date="2018-03-11" description="GA Release 2.11.0"> 515 <action issue="LOG4J2-2104" dev="rgoers" type="fix"> 516 LoaderUtil was not looping properly over classloaders. 517 </action> 518 <action issue="LOG4J2-1976" dev="rgoers" type="fix"> 519 Revert OSGi API version to 4.3.1. 520 </action> 521 <action issue="LOG4J2-2273" dev="rpopma" type="update" due-to="Bruno P. Kinoshita"> 522 Documentation fix in manual page for custom configurations. 523 </action> 524 <action issue="LOG4J2-2252" dev="rpopma" type="update" due-to="Carter Kozak"> 525 Reusable LogEvents now pass the original format string to downstream components like layouts and filters. 526 </action> 527 <action issue="LOG4J2-2253" dev="rpopma" type="add" due-to="Carter Kozak"> 528 Add API to enable iterating over message parameters without creating temporary objects. 529 </action> 530 <action issue="LOG4J2-2271" dev="rgoers" type="fix"> 531 Move module-info.class to META-INF/versions/9 directory. 532 </action> 533 <action issue="LOG4J2-2254" dev="rgoers" type="fix"> 534 Incorrect automatics module name header was being included in manifests. 535 </action> 536 <action issue="LOG4J2-2247" dev="rgoers" type="fix"> 537 NullPointerException would occur when header was provided to a Layout on RollingRandingAccessFileAppender 538 with DirectWriteRolloverStrategy. 539 </action> 540 <action issue="LOG4J2-2250" dev="rpopma" type="update"> 541 The internal status logger timestamp format is now configurable with system property `log4j2.StatusLogger.DateFormat`. 542 </action> 543 <action issue="LOG4J2-2236" dev="rpopma" type="update"> 544 Removed unnecessary dependency on jcommander since Log4j uses embedded picocli since 2.9. 545 </action> 546 <action issue="LOG4J2-1883" dev="rpopma" type="add" due-to="Anthony Maire"> 547 Added support for precise (micro and nanosecond) timestamps when running on Java 9. A limited number of precise %d date formats are supported with PatternLayout. POTENTIAL BREAKING CHANGE: The XML, JSON and YAML formats have changed: they no longer have the "timeMillis" attribute and instead have an "Instant" element with "epochSecond" and "nanoOfSecond" attributes. 548 </action> 549 <action issue="LOG4J2-2190" dev="mikes" type="add" due-to="Franz Wong"> 550 Output JSON object for ObjectMessage in JsonLayout. 551 </action> 552 <action issue="LOG4J2-2191" dev="rpopma" type="add"> 553 Made log4j-core a multi-release ("multi-version") jar, added log4j-core-java9 module. 554 </action> 555 <action issue="LOG4J2-2129" dev="rgoers" type="fix" due-to="Blazej Bucko"> 556 Log4j2 throws NoClassDefFoundError in Java 9 in java.util.ServiceLoader. 557 </action> 558 <action issue="LOG4J2-2158" dev="rpopma" type="fix" due-to="Björn Kautler"> 559 Fixed bug where ThreadContext map was cleared, resulting in entries being only available for one log event. 560 </action> 561 <action issue="LOG4J2-2002" dev="mikes" type="fix" due-to="Paul Burrowes"> 562 Avoid null attribute values in DefaultConfigurationBuilder. 563 </action> 564 <action issue="LOG4J2-2175" dev="mikes" type="fix" due-to="Behrang Saeedzadeh"> 565 Fix typo in Property Substitution docs. 566 </action> 567 <action issue="LOG4J2-2163" dev="rgoers" type="fix"> 568 Allow SortedArrayStringMap to be filtered upon deserialization. Fix build error in Java 9 when 569 compiling log4j-core test classes. 570 </action> 571 <action issue="LOG4J2-2157" dev="ggregory" type="fix" due-to="Malte Skoruppa"> 572 Don't create exit message in traceExit(R) when logging is disabled. 573 </action> 574 <action issue="LOG4J2-2123" dev="rgoers" type="fix" due-to="Jacob Tolar"> 575 DefaultMergeStrategy did not merge filters on loggers correctly. 576 </action> 577 <action issue="LOG4J2-2146" dev="rgoers" type="update"> 578 Update version of maven bundle plugin to 3.4.0. Convert bundle plugin error to a warning. 579 </action> 580 <action issue="LOG4J2-2215" dev="rpopma" type="update"> 581 Reduce compiler warnings in log4j-api. 582 </action> 583 <action issue="LOG4J2-2143" dev="mikes" type="add"> 584 Add missing converters to PatternLayout. 585 </action> 586 <action issue="LOG4J2-2160" dev="ggregory" type="add"> 587 Add API org.apache.logging.log4j.core.lookup.Interpolator.getStrLookupMap(). 588 </action> 589 <action issue="LOG4J2-2127" dev="rpopma" type="update" due-to="Carter Kozak"> 590 Removed unnecessary threadlocal StringBuilder field from MdcPatternConverter. 591 </action> 592 <action issue="LOG4J2-2126" dev="rpopma" type="fix" due-to="Oleg Kalnichevski"> 593 Removed compile-time dependency on Java Management APIs from Log4J API module to improve compatibility with Android Platform which does not support JMX extensions. 594 </action> 595 <action issue="LOG4J2-2194" dev="rpopma" type="update"> 596 Require Java 9 to compile the log4j-perf module to allow benchmarking with Java 9 APIs. 597 </action> 598 <action issue="LOG4J2-2193" dev="rpopma" type="update"> 599 Update JMH to version 1.19 from 1.1.1. 600 </action> 601 <action issue="LOG4J2-2132" dev="ggregory" type="update"> 602 Update ZeroMQ's jeromq from 0.4.2 to 0.4.3. 603 </action> 604 <action issue="LOG4J2-2165" dev="ggregory" type="update"> 605 Update Jackson from 2.9.2 to 2.9.3. 606 </action> 607 <action issue="LOG4J2-2179" dev="ggregory" type="add"> 608 The MongoDB Appender should use a keys and values for a Log4j MapMessage. 609 </action> 610 <action issue="LOG4J2-2180" dev="ggregory" type="add"> 611 Add a MongoDbProvider builder for and deprecate org.apache.logging.log4j.mongodb.MongoDbProvider.createNoSqlProvider(). 612 </action> 613 <action issue="LOG4J2-2181" dev="ggregory" type="add"> 614 The JDBC Appender should use keys and values from a Log4j MapMessage. 615 </action> 616 <action issue="LOG4J2-2184" dev="ggregory" type="update"> 617 Update MongoDB driver from 3.0.4 to 3.6.1. 618 </action> 619 <action issue="LOG4J2-2185" dev="ggregory" type="add"> 620 Add a simple JDBC DriverManager-based ConnectionSource that uses JDBC's DriverManager#getConnection(String, String, String). 621 </action> 622 <action issue="LOG4J2-2197" dev="ggregory" type="update" due-to="Fabrice Daugan"> 623 Document default property value support. 624 </action> 625 <action issue="LOG4J2-2198" dev="ggregory" type="update"> 626 Update MongoDB dependencies from classic to modern. 627 </action> 628 <action issue="LOG4J2-2186" dev="ggregory" type="add"> 629 Add a JDBC ConnectionSource that provides pooling through Apache Commons DBCP 2. 630 </action> 631 <action issue="LOG4J2-2187" dev="ggregory" type="add"> 632 Add a hook for a Connection Source for a JDBC Appender to release its resources. 633 </action> 634 <action issue="LOG4J2-2203" dev="ggregory" type="add"> 635 Add org.apache.logging.log4j.core.util.WatchManager#unwatch(File). 636 </action> 637 <action issue="LOG4J2-2204" dev="ggregory" type="update"> 638 org.apache.logging.log4j.core.util.WatchManager.getWatchers() should pre-allocate its new Map. 639 </action> 640 <action issue="LOG4J2-2206" dev="ggregory" type="add"> 641 Add method org.apache.logging.log4j.core.util.WatchManager.reset(File) and reset(). 642 </action> 643 <action issue="LOG4J2-2208" dev="ggregory" type="add"> 644 Add debug logging to org.apache.logging.log4j.mongodb.MongoDbConnection. 645 </action> 646 <action issue="LOG4J2-2209" dev="ggregory" type="update"> 647 Rename existing MongoDb plugin and related artifacts from MongoDb to MongoDb2. 648 </action> 649 <action issue="LOG4J2-2210" dev="ggregory" type="update" due-to="Björn Kautler"> 650 Fix error log message for Script which says ScriptFile instead. 651 </action> 652 <action issue="LOG4J2-2212" dev="ggregory" type="update" due-to="Daniel Feist, Gary Gregory"> 653 Unnecessary contention in CopyOnWriteSortedArrayThreadContextMap. 654 </action> 655 <action issue="LOG4J2-2213" dev="ggregory" type="update" due-to="Daniel Feist, Gary Gregory"> 656 Unnecessary contention in GarbageFreeSortedArrayThreadContextMap. 657 </action> 658 <action issue="LOG4J2-2214" dev="ggregory" type="update" due-to="Daniel Feist, Gary Gregory"> 659 Unnecessary contention in DefaultThreadContextMap. 660 </action> 661 <action issue="LOG4J2-2182" dev="ggregory" type="update" due-to="liwenxian2017, Gary Gregory"> 662 NullPointerException at org.apache.logging.log4j.util.Activator.loadProvider(Activator.java:81) in log4j 2.10.0. 663 </action> 664 <action issue="LOG4J2-2202" dev="ggregory" type="update" due-to="Kilian, Gary Gregory"> 665 MarkerFilter onMismatch invalid attribute in .properties. 666 </action> 667 <action issue="LOG4J2-2219" dev="ggregory" type="update" due-to="Kilian, Gary Gregory"> 668 Configuration builder classes should look for "onMismatch", not "onMisMatch". 669 </action> 670 <action issue="LOG4J2-2205" dev="ggregory" type="update" due-to="Gary Gregory"> 671 New module log4j-mongodb3: Remove use of deprecated MongoDB APIs and code to the Java driver version 3 API. 672 </action> 673 <action issue="LOG4J2-2188" dev="ggregory" type="update" due-to="Gary Gregory"> 674 Split off JPA support into a new module log4j-jpa. 675 </action> 676 <action issue="LOG4J2-2229" dev="ggregory" type="update" due-to="Gary Gregory"> 677 Update Jackson from 2.9.3 to 2.9.4. 678 </action> 679 <action issue="LOG4J2-2243" dev="ggregory" type="update" due-to="Gary Gregory"> 680 Cannot see or copy all of certain JAnsi exception messages on Windows due to NUL characters. 681 </action> 682 <action issue="LOG4J2-2245" dev="ggregory" type="update" due-to="Gary Gregory"> 683 Update Apache Commons Compress from 1.15 to 1.16.1. 684 </action> 685 <action issue="LOG4J2-2259" dev="ggregory" type="update"> 686 Update MongoDB 3 module from driver 3.6.1 to 3.6.3. 687 </action> 688 <action issue="LOG4J2-2260" dev="ggregory" type="update"> 689 [SMTP] Update javax.mail from 1.6.0 to 1.6.1. 690 </action> 691 <action issue="LOG4J2-2264" dev="ggregory" type="update"> 692 Update JAnsi from 1.16 to 1.17. 693 </action> 694 <action issue="LOG4J2-2270" dev="ggregory" type="fix" due-to="Cyril Martin"> 695 Strings::join, when called with [null] returns "null" instead of EMPTY. 696 </action> 697 <action issue="LOG4J2-2276" dev="ggregory" type="fix" due-to="Sean Baxter"> 698 ConcurrentModificationException from org.apache.logging.log4j.status.StatusLogger.<clinit>(StatusLogger.java:71). 699 </action> 700 <action issue="LOG4J2-2274" dev="ggregory" type="fix" due-to="Sebastien Lannez"> 701 Allow EnvironmentPropertySource to run with a SecurityManager that rejects environment variable access. 702 </action> 703 <action issue="LOG4J2-2279" dev="ggregory" type="fix" due-to="Gary Gregory"> 704 Allow SystemPropertiesPropertySource to run with a SecurityManager that rejects system property access. 705 </action> 706 </release> 707 <release version="2.10.0" date="2017-11-18" description="GA Release 2.10.0"> 708 <action issue="LOG4J2-2289" dev="ggregory" type="fix" due-to="Hari Menon"> 709 XML Schema for DynamicFilterThreshold does not accept multiple KeyValuePairs. 710 </action> 711 <action issue="LOG4J2-2120" dev="mikes" type="add" due-to="Carter Douglas Kozak"> 712 Properly escape newlines and other control characters in JSON. 713 </action> 714 <action issue="LOG4J2-2109" dev="mikes" type="add" due-to="Carter Douglas Kozak"> 715 Add property to disable message pattern converter lookups. 716 </action> 717 <action issue="LOG4J2-2112" dev="mikes" type="add" due-to="Carter Douglas Kozak"> 718 MapMessage should use deep toString for values. 719 </action> 720 <action issue="LOG4J2-2107" dev="mikes" type="fix" due-to="Carter Douglas Kozak"> 721 MapMessage supports both StringBuilderFormattable and MultiformatMessage. 722 </action> 723 <action issue="LOG4J2-2102" dev="mikes" type="fix" due-to="Carter Douglas Kozak"> 724 MapMessage JSON encoding will escape keys and values. 725 </action> 726 <action issue="LOG4J2-2101" dev="mikes" type="fix" due-to="Carter Douglas Kozak"> 727 Non-string value in MapMessage caused ClassCastException. 728 </action> 729 <action issue="LOG4J2-2103" dev="mikes" type="add"> 730 XML encoding for PatternLayout. 731 </action> 732 <action issue="LOG4J2-2114" dev="ggregory" type="add"> 733 Provide a native Log4j 2 implementation of Eclipse Jetty's org.eclipse.jetty.util.log.Logger. 734 </action> 735 <action issue="LOG4J2-1203" dev="mikes" type="add" due-to="Robert Turner"> 736 Allow filtering of line breaks in layout pattern. 737 </action> 738 <action issue="LOG4J2-2098" dev="rgoers" type="add"> 739 Add a noop AppenderSkeleton for applications still using Log4j 1.x. 740 </action> 741 <action issue="LOG4J2-2091" dev="mikes" type="fix" due-to="Carter Douglas Kozak"> 742 Log4j respects the configured "log4j2.is.webapp" property 743 </action> 744 <action issue="LOG4J2-2100" dev="ggregory" type="fix"> 745 LevelMixIn class for Jackson is coded incorrectly 746 </action> 747 <action issue="LOG4J2-2087" dev="rpopma" type="fix" due-to="Andy Gumbrecht"> 748 Jansi now needs to be enabled explicitly (by setting system property `log4j.skipJansi` to `false`). To avoid causing problems for web applications, Log4j will no longer automatically try to load Jansi without explicit configuration. 749 </action> 750 <action issue="LOG4J2-2060" dev="rpopma" type="fix"> 751 AbstractDatabaseManager should make a copy of LogEvents before holding references to them: AsyncLogger log events are mutable. 752 </action> 753 <action issue="LOG4J2-2076" dev="mikes" type="update"> 754 Split up log4j-nosql into one module per appender. 755 </action> 756 <action issue="LOG4J2-2088" dev="rpopma" type="update"> 757 Upgrade picocli to 2.0.3 from 0.9.8. 758 </action> 759 <action issue="LOG4J2-2062" dev="mikes" type="add" due-to="Jorge Sanchez"> 760 Add possibility of sending the key of a message to Kafka using KafkaAppender. 761 </action> 762 <action issue="LOG4J2-2056" dev="rgoers" type="add"> 763 Modularize Log4j-api and make most other log4j jars automatic modules. 764 </action> 765 <action issue="LOG4J2-1431" dev="mattsicker" type="add"> 766 Simplify log4j system property naming scheme. 767 </action> 768 <action issue="LOG4J2-1809" dev="mattsicker" type="add"> 769 Add global configuration environment SPI. 770 </action> 771 <action issue="LOG4J2-2025" dev="rgoers" type="update"> 772 Provide support for overriding the Tomcat Log class in Tomcat 8.5+. 773 </action> 774 <action issue="LOG4J2-1694" dev="mikes" type="add" due-to="Michal Dvořák"> 775 Add fields with fixed values to JSON/XML/YAML layouts. 776 </action> 777 <action issue="LOG4J2-2054" dev="rpopma" type="add"> 778 Provide ways to configure SSL that avoid plain-text passwords in the log4j configuration. The configuration may 779 now specify a system environment variable that holds the password, or the path to a file that holds the password. 780 </action> 781 <action issue="LOG4J2-2057" dev="rgoers" type="update"> 782 Support new SLF4J binding mechanism introduced in SLF4J 1.8. 783 </action> 784 <action issue="LOG4J2-2052" dev="rpopma" type="update"> 785 Disable thread name caching by default when running on Java 8u102 or later. 786 </action> 787 <action issue="LOG4J2-2055" dev="rgoers" type="fix"> 788 If Log4j is used as the Tomcat logging implementation startup might fail if an application also uses Log4j. 789 </action> 790 <action issue="LOG4J2-1896" dev="rpopma" type="update"> 791 Update classes in org.apache.logging.log4j.core.net.ssl in APIs from String to a PasswordProvider producing 792 char[] for passwords. 793 </action> 794 <action issue="LOG4J2-2031" dev="rpopma" type="fix"> 795 Until this change, messages appeared out of order in log file any time when the async logging queue was full. 796 With this change, messages are only logged out of order to prevent deadlock when Log4j2 detects recursive 797 logging while the queue is full. 798 </action> 799 <action issue="LOG4J2-2053" dev="ggregory" type="fix"> 800 Exception java.nio.charset.UnsupportedCharsetException: cp65001 in 2.9.0. 801 </action> 802 <action issue="LOG4J2-1216" dev="ggregory" type="fix" due-to="Thies Wellpott, Barna Zsombor Klara, GFriedrich"> 803 Nested pattern layout options broken. 804 </action> 805 <action issue="LOG4J2-2070" dev="ggregory" type="fix" due-to="Doug Hughes"> 806 Log4j1XmlLayout does not provide the entire stack trace, it is missing the caused by information. 807 </action> 808 <action issue="LOG4J2-2036" dev="ggregory" type="fix" due-to="Robert Haycock"> 809 CompositeConfiguration supports Reconfiguration. PR #115. 810 </action> 811 <action issue="LOG4J2-2071" dev="ggregory" type="add" due-to="Carter Kozak"> 812 Add org.apache.logging.log4j.core.config.composite.CompositeConfiguration#toString(). 813 </action> 814 <action issue="LOG4J2-2073" dev="ggregory" type="fix" due-to="Patrick Lucas"> 815 Log4j-config.xsd should make AppenderRef optional for each Logger element. 816 </action> 817 <action issue="LOG4J2-2074" dev="ggregory" type="fix"> 818 The console appender should say why it cannot load JAnsi. 819 </action> 820 <action issue="LOG4J2-2085" dev="ggregory" type="fix" due-to="István Neuwirth"> 821 Wrong Apache Commons CSV version referenced in the Javadoc of CsvParameterLayout. 822 </action> 823 <action issue="LOG4J2-2078" dev="ggregory" type="update"> 824 Update LMAX disruptor from 3.3.6 to 3.3.7. 825 </action> 826 <action issue="LOG4J2-2081" dev="ggregory" type="update"> 827 Update Apache Commons Compress from 1.14 to 1.15. 828 </action> 829 <action issue="LOG4J2-2089" dev="ggregory" type="update"> 830 [TagLib] Update servlet-api provided dependency from 2.5 to 3.0.1. 831 </action> 832 <action issue="LOG4J2-2096" dev="ggregory" type="update"> 833 Update Apache Kafka kafka-clients from 0.11.0.1 to 1.0.0. 834 </action> 835 <action issue="LOG4J2-2077" dev="ggregory" type="update"> 836 Update from Jackson 2.9.1 to 2.9.2. 837 </action> 838 <action issue="LOG4J2-2117" dev="ggregory" type="update"> 839 Jackson dependencies for 2.9.2 incorrectly bring in jackson-annotations 2.9.0 instead of 2.9.2. 840 </action> 841 </release> 842 <release version="2.9.1" date="2017-09-17" description="GA Release 2.9.1"> 843 <action issue="LOG4J2-1988" dev="rpopma" type="fix"> 844 Prevent ConcurrentModificationException with AsyncLoggerConfig. 845 </action> 846 <action issue="LOG4J2-1914" dev="rpopma" type="fix"> 847 Prevent ConcurrentModificationException with AsyncLoggerConfig. 848 </action> 849 <action issue="LOG4J2-2048" dev="rpopma" type="fix"> 850 Increase default queue size for AsyncAppender from 128 to 1024. 851 </action> 852 <action issue="LOG4J2-2035" dev="rpopma" type="fix"> 853 Fix documentation to clarify disruptor-3.3.4 is now required for async loggers (previously the docs referred to disruptor-3.3.3 which was never released). 854 </action> 855 <action issue="LOG4J2-2030" dev="rgoers" type="fix"> 856 Inspect all known ClassLoaders to locate the service provider. 857 </action> 858 <action issue="LOG4J2-2028" dev="rgoers" type="fix" due-to="Jason Tedor"> 859 Java 9 StackLocator was not properly skipping the initial stack frames. 860 </action> 861 <action issue="LOG4J2-2023" dev="ggregory" type="update"> 862 Use a class' canonical name instead of name to create its logger name. 863 </action> 864 <action issue="LOG4J2-2026" dev="ggregory" type="fix" due-to="Leon Finker"> 865 java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(). 866 </action> 867 <action issue="LOG4J2-2029" dev="ggregory" type="fix" due-to="Fabrizio Cucci"> 868 Marker examples should not use deprecated flow APIs. 869 </action> 870 <action issue="LOG4J2-1936" dev="ggregory" type="fix" due-to="Helber Belmiro"> 871 ClassNotFoundException when making all loggers asynchronous under OSGi environment. 872 </action> 873 <action issue="LOG4J2-2043" dev="ggregory" type="update"> 874 Update Jackson from 2.9.0 to 2.9.1 (fix for Java 9.) 875 </action> 876 <action issue="LOG4J2-2044" dev="ggregory" type="update"> 877 Update Apache Commons CSV from 1.4 to 1.5. 878 </action> 879 <action issue="LOG4J2-2045" dev="ggregory" type="update"> 880 Update javax.mail from 1.5.6 to 1.6.0. 881 </action> 882 <action issue="LOG4J2-2046" dev="ggregory" type="update"> 883 Update Apache Commons Compress from 1.13 to 1.14. 884 </action> 885 <action issue="LOG4J2-2047" dev="ggregory" type="update"> 886 Update Cassandra driver from 3.1.0 to 3.1.4. 887 </action> 888 <action issue="LOG4J2-2049" dev="ggregory" type="update"> 889 Update Apache Kafka Client from 0.11.0.0 to 0.11.0.1. 890 </action> 891 </release> 892 <release version="2.9.0" date="2017-08-26" description="GA Release 2.9.0"> 893 <action issue="LOG4J2-1928" dev="rgoers" type="update"> 894 Add support for DirectWriteRolloverStrategy to RollingRandomAccessFileAppender. 895 </action> 896 <action issue="LOG4J2-1833" dev="rgoers" type="fix"> 897 Prevent NullPointerException when a file name is specified with the DirectWriteRolloverStrategy. 898 </action> 899 <action issue="LOG4J2-2022" dev="rgoers" type="update"> 900 RFC5424Layout now prints the process id. 901 </action> 902 <action issue="LOG4J2-2020" dev="mikes" type="update"> 903 Remove default layout from KafkaAppender. 904 </action> 905 <action issue="LOG4J2-2018" dev="rpopma" type="fix"> 906 Fix incorrect documentation for LoggerNameLevelRewritePolicy. 907 </action> 908 <action issue="LOG4J2-922" dev="ggregory" type="fix" due-to="angus.aqlu, Paul Burrowes"> 909 Parameter of mdcId in SyslogAppender has no default value. 910 </action> 911 <action issue="LOG4J2-2001" dev="ggregory" type="fix" due-to="Paul Burrowes"> 912 StyleConverter.newInstance argument validation is incorrect. 913 </action> 914 <action issue="LOG4J2-1999" dev="ggregory" type="fix" due-to="Paul Burrowes"> 915 HighlightConverter converts all unrecognized levels to DEBUG. 916 </action> 917 <action issue="LOG4J2-2013" dev="ggregory" type="fix" due-to="Taylor Patton, Gary Gregory"> 918 SslSocketManager does not apply SSLContext on TCP reconnect. 919 </action> 920 <action issue="LOG4J2-2023" dev="ggregory" type="update"> 921 Use a class' canonical name instead of name to create its logger name. 922 </action> 923 <action issue="LOG4J2-2015" dev="ggregory" type="update"> 924 Allow KeyStoreConfiguration and TrustStoreConfiguration to find files as resources. 925 </action> 926 <action issue="LOG4J2-2011" dev="rpopma" type="update"> 927 Replace JCommander command line parser with picocli to let users run Log4j2 utility applications without requiring an external dependency. 928 </action> 929 <action issue="LOG4J2-2008" dev="rgoers" type="add"> 930 Support printing multiple StructuredData elements in RFC5424Layout. 931 </action> 932 <action issue="LOG4J2-1986" dev="mikes" type="add"> 933 Public API for parsing the output from JsonLayout/XmlLayout/YamlLayout into a LogEvent. 934 </action> 935 <action issue="LOG4J2-1984" dev="rgoers" type="update"> 936 Allow maxLength of StructuredData to be specified by the user. 937 </action> 938 <action issue="LOG4J2-1071" dev="ggregory" type="update" due-to="Ben Ludkiewicz, Benjamin Jaton"> 939 Allow for bufferSize=0 in SMTP appender. 940 </action> 941 <action issue="LOG4J2-1981" dev="mikes" type="add"> 942 JsonLayout, XmlLayout and YamlLayout support 0-byte termination of log events. 943 </action> 944 <action issue="LOG4J2-1864" dev="mattsicker" type="add" due-to="Matthias Kappeller"> 945 Support capped collections for MongoDb appender. 946 </action> 947 <action issue="LOG4J2-2016" dev="ggregory" type="fix" due-to="Benjamin Jaton"> 948 Mark FileRenameAction as successful when using alternative ways to move files. 949 </action> 950 <action issue="LOG4J2-2012" dev="ggregory" type="fix" due-to="Benjamin Jaton"> 951 No compression when using a separate drive in Linux. 952 </action> 953 <action issue="LOG4J2-1888" dev="ggregory" type="fix" due-to="Misagh Moayyed"> 954 Log4j throws a java.nio.charset.UnsupportedCharsetException: cp65001. 955 </action> 956 <action issue="LOG4J2-1990" dev="ggregory" type="fix" due-to="Philippe Mouawad"> 957 ConcurrentModificationException logging a parameter of type Map. 958 </action> 959 <action issue="LOG4J2-1311" dev="ggregory" type="fix" due-to="Xibing Liang"> 960 SocketAppender will lose several events after re-connection to server. 961 </action> 962 <action issue="LOG4J2-1977" dev="ggregory" type="fix" due-to="Jerry xnslong"> 963 Consider the StringBuilder's capacity instead of content length when trimming. 964 </action> 965 <action issue="LOG4J2-1971" dev="rgoers" type="fix"> 966 Register log4j-core as an OSGi service. Skip tests for LOG4J2-1766 on MacOS. Use group "staff" for LOG4J2-1699 test on MacOS. 967 </action> 968 <action issue="LOG4J2-1994" dev="ggregory" type="fix"> 969 TcpSocketServer does not close accepted Sockets. 970 </action> 971 <action issue="LOG4J2-1987" dev="ggregory" type="fix" due-to="Andreas Felder"> 972 Log4J JUL Bridge and RMI Security Manager causes access denied ("java.util.logging.LoggingPermission" "control") 973 </action> 974 <action issue="LOG4J2-1982" dev="ggregory" type="fix" due-to="Christoph Lembeck"> 975 Log4j-config.xsd only allows one AppenderRef element for each Logger element. 976 </action> 977 <action issue="LOG4J2-1985" dev="ggregory" type="fix" due-to="Kenneth McFarland"> 978 Fix default buffer size to match documentation (from 8102 to 8192 a.k.a. 8KB.) 979 </action> 980 <action issue="LOG4J2-1813" dev="rpopma" type="add"> 981 Log4j2 will now print all internal logging to the console if system property `log4j2.debug` is defined with any value (or no value). 982 </action> 983 <action issue="LOG4J2-1261" dev="rpopma" type="update"> 984 Async Loggers no longer use deprecated LMAX Disruptor APIs. (Disruptor-3.3.3 or higher is now required.) 985 </action> 986 <action issue="LOG4J2-1908" dev="rpopma" type="update"> 987 Improved error message when misconfigured with multiple incompatible appenders targeting same file. 988 </action> 989 <action issue="LOG4J2-1954" dev="rpopma" type="update"> 990 Configurations with multiple root loggers now fail loudly. 991 </action> 992 <action issue="LOG4J2-1958" dev="mikes" type="update"> 993 Deprecate SerializedLayout and remove it as default. 994 </action> 995 <action issue="LOG4J2-1959" dev="mikes" type="update"> 996 Disable DTD processing in XML configuration files. 997 </action> 998 <action issue="LOG4J2-1766" dev="ggregory" type="add" due-to="Pierrick HYMBERT"> 999 Temporary compress directory during rollover (#88). 1000 </action> 1001 <action issue="LOG4J2-1950" dev="ggregory" type="update" due-to="Pierrick HYMBERT"> 1002 Fix docker build with jdk9 requirements (#84). 1003 </action> 1004 <action issue="LOG4J2-1801" dev="rpopma" type="update"> 1005 Add more detail to WARN "Ignoring log event" messages printed to the console after log4j was shut down. 1006 </action> 1007 <action issue="LOG4J2-1814" dev="rpopma" type="add"> 1008 Added wrapper classes CustomLoggerGenerator and ExtendedLoggerGenerator to avoid class name with a dollar ($) character which has special meaning in many *nix command line environments. 1009 </action> 1010 <action issue="LOG4J2-1884" dev="rpopma" type="add"> 1011 Added process ID (pid) pattern converter. 1012 </action> 1013 <action issue="LOG4J2-1926" dev="rpopma" type="update"> 1014 Facilitate log4j use in Android applications: remove dependency on RMI and Management APIs from log4j-api. 1015 </action> 1016 <action issue="LOG4J2-1699" dev="ggregory" type="add" due-to="Demetrios Dimatos, Pierrick HYMBERT"> 1017 Configurable Log File Permissions with PosixFilePermission. 1018 </action> 1019 <action issue="LOG4J2-1945" dev="ggregory" type="add"> 1020 Generate source jas for all test jars. 1021 </action> 1022 <action issue="LOG4J2-1934" dev="ggregory" type="add"> 1023 JMS Appender does not know how to recover from a broken connection. 1024 </action> 1025 <action issue="LOG4J2-1955" dev="ggregory" type="add"> 1026 JMS Appender should be able connect to a broker (later) even it is not present at configuration time. 1027 </action> 1028 <action issue="LOG4J2-1956" dev="ggregory" type="update"> 1029 JMS Appender broker password should be a char[], not a String. 1030 </action> 1031 <action issue="LOG4J2-1874" dev="rpopma" type="add" due-to="Roman Leventov"> 1032 Added methods ::writeBytes(ByteBuffer) and ::writeBytes(byte[], int, int) to ByteBufferDestination interface and use these methods in TextEncoderHelper where possible to prepare for future enhancements to reduce lock contention. 1033 </action> 1034 <action issue="LOG4J2-1912" dev="ggregory" type="fix" due-to="R Ri"> 1035 CompositeConfiguration logs warning "Unable to determine URI for configuration." However, the reconfiguration is completed. 1036 </action> 1037 <action issue="LOG4J2-1964" dev="ggregory" type="fix" due-to="Pierrick HYMBERT"> 1038 Dynamic reconfiguration does not work for filePattern of RollingFile. 1039 </action> 1040 <action issue="LOG4J2-1961" dev="ggregory" type="fix" due-to="Christian Vent"> 1041 Reconfigure breaks DirectWriteRolloverStrategy. 1042 </action> 1043 <action issue="LOG4J2-1943" dev="rgoers" type="fix"> 1044 The eventPrefix attribute was being ignored in the RFC5424Layout. 1045 </action> 1046 <action issue="LOG4J2-1953" dev="ggregory" type="fix"> 1047 JndiManager is not released when the JmsAppender builder catches an exception trying to build itself. 1048 </action> 1049 <action issue="LOG4J2-1911" dev="rgoers" type="fix"> 1050 Improve the documentation of the DynamicThresholdFilter. 1051 </action> 1052 <action issue="LOG4J2-1929" dev="ggregory" type="fix" due-to="Borys Sokolov"> 1053 EOFException with FormattedMessage. 1054 </action> 1055 <action issue="LOG4J2-1948" dev="ggregory" type="fix" due-to="Michael Lück"> 1056 Trim levels read from properties file to remove trailing spaces. 1057 </action> 1058 <action issue="LOG4J2-1971" dev="ggregory" type="fix" due-to="liwenxian2017"> 1059 ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader. 1060 </action> 1061 <action issue="LOG4J2-1442" dev="mikes" type="add"> 1062 Generic HTTP appender. 1063 </action> 1064 <action issue="LOG4J2-1935" dev="ggregory" type="add"> 1065 Add with(String, primitive) methods to org.apache.logging.log4j.message.MapMessage. 1066 </action> 1067 <action issue="LOG4J2-1930" dev="ggregory" type="add"> 1068 Add forEach() methods to org.apache.logging.log4j.message.MapMessage. 1069 </action> 1070 <action issue="LOG4J2-1932" dev="ggregory" type="add"> 1071 Add containsKey() methods to org.apache.logging.log4j.message.MapMessage. 1072 </action> 1073 <action issue="LOG4J2-1917" dev="rgoers" type="update"> 1074 Support using java.util.ServiceLoader to locate Log4j 2 API providers. 1075 </action> 1076 <action issue="LOG4J2-1966" dev="ggregory" type="update" due-to="M Sazzadul Hoque"> 1077 Include separator option of PatternLayout in manual (and other updates). 1078 </action> 1079 <action issue="LOG4J2-1854" dev="mikes" type="add" due-to="Xavier Jodoin"> 1080 Support null byte delimiter in GelfLayout. 1081 </action> 1082 <action issue="LOG4J2-1359" dev="rgoers" type="add"> 1083 Add support for Java 9 StackWalker. 1084 </action> 1085 <action issue="LOG4J2-1880" dev="mikes" type="add"> 1086 Warn when a configuration file for an inactive ConfigurationFactory is found. 1087 </action> 1088 <action issue="LOG4J2-1855" dev="mattsicker" type="add" due-to="Anthony Maire"> 1089 Add an optional random delay in TimeBasedTriggeringPolicy 1090 </action> 1091 <action issue="LOG4J2-1876" dev="mikes" type="fix"> 1092 More reliable checking for runtime dependencies. 1093 </action> 1094 <action issue="LOG4J2-1867" dev="mikes" type="fix"> 1095 Fix configuration documentation. 1096 </action> 1097 <action issue="LOG4J2-1858" dev="rpopma" type="fix"> 1098 Ensure the ThreadLocal StringBuilder in ParameterizedMessage won't hold excessively much memory after logging a long message. 1099 </action> 1100 <action issue="LOG4J2-1885" dev="mattsicker" type="fix"> 1101 Fix documentation about default additivity value for loggers. 1102 </action> 1103 <action issue="LOG4J2-1920" dev="ggregory" type="fix" due-to="Ajitha"> 1104 ScriptEngineManager is not available in Android and causes a NoClassDefFoundError. 1105 </action> 1106 <action issue="LOG4J2-1989" dev="ggregory" type="fix" due-to="Kenneth McFarland"> 1107 Clarify Javadoc for AbstractTriggeringPolicy. 1108 </action> 1109 <action issue="LOG4J2-1993" dev="ggregory" type="fix" due-to="Kenneth McFarland"> 1110 Fix compiler warnings in LoggerConfigTest. 1111 </action> 1112 <action issue="LOG4J2-1851" dev="mikes" type="update"> 1113 Move server components from log4j-core to new log4-server module. 1114 </action> 1115 <action issue="LOG4J2-1860" dev="mikes" type="add"> 1116 Shortcut to add Property and KeyValuePair component in ConfigurationBuilder. 1117 </action> 1118 <action issue="LOG4J2-1294" dev="ggregory" type="add"> 1119 The JMS Appender should use a JMS MapMessage for a Log4j MapMessage. 1120 </action> 1121 <action issue="LOG4J2-1991" dev="ggregory" type="update" due-to=""> 1122 Refactor SimpleMessage to be concise and clear (#100) 1123 </action> 1124 <action issue="LOG4J2-2017" dev="ggregory" type="update"> 1125 Update Jackson from 2.8.9 to 2.9.0. 1126 </action> 1127 <action issue="LOG4J2-1868" dev="ggregory" type="update"> 1128 Update ZeroMQ's JeroMQ from 0.3.6 to 0.4.0. 1129 </action> 1130 <action issue="LOG4J2-1960" dev="ggregory" type="update"> 1131 Update ZeroMQ's JeroMQ from 0.4.0 to 0.4.1. 1132 </action> 1133 <action issue="LOG4J2-1974" dev="ggregory" type="update"> 1134 Update ZeroMQ's JeroMQ from 0.4.1 to 0.4.2. 1135 </action> 1136 <action issue="LOG4J2-1869" dev="ggregory" type="update"> 1137 Update Kafka client from 0.10.1.1 to 0.10.2.0 1138 </action> 1139 <action issue="LOG4J2-1962" dev="ggregory" type="update"> 1140 Update Kafka client from 0.10.2.0 to 0.11.0.0 1141 </action> 1142 <action issue="LOG4J2-1872" dev="ggregory" type="update"> 1143 Update JavaMail from 1.5.5 to 1.5.6. 1144 </action> 1145 <action issue="LOG4J2-1879" dev="ggregory" type="update"> 1146 Update JAnsi from 1.14 to 1.15. 1147 </action> 1148 <action issue="LOG4J2-1877" dev="ggregory" type="update" due-to="Chandra Tungathurthi"> 1149 Missing documentation for Max index limit in DefaultRolloverStrategy. 1150 </action> 1151 <action issue="LOG4J2-1899" dev="ggregory" type="update"> 1152 Add missing getters to classes in package org.apache.logging.log4j.core.net.ssl. 1153 </action> 1154 <action issue="LOG4J2-1900" dev="ggregory" type="update"> 1155 Update JAnsi from 1.15 to 1.16. 1156 </action> 1157 <action issue="LOG4J2-" dev="ggregory" type="update"> 1158 Update SLF4J from 1.7.24 to 1.7.25. 1159 </action> 1160 <action issue="LOG4J2-1938" dev="ggregory" type="update"> 1161 Update Jackson from 2.8.7 to 2.8.9. 1162 </action> 1163 <action issue="LOG4J2-1970" dev="rpopma" type="update"> 1164 Update HdrHistogram from 2.1.8 to 2.1.9. 1165 </action> 1166 <action issue="LOG4J2-1975" dev="ggregory" type="update"> 1167 Update javax.persistence from 2.1.0 to 2.1.1. 1168 </action> 1169 <action issue="LOG4J2-1976" dev="ggregory" type="update"> 1170 Update org.osgi.core from 4.3.1 to 6.0.0. 1171 </action> 1172 </release> 1173 <release version="2.8.2" date="2017-04-02" description="GA Release 2.8.2"> 1174 <action issue="LOG4J2-1861" dev="mattsicker" type="fix"> 1175 Fix JavaDoc on org.apache.logging.log4j.ThreadContext about inheritance. 1176 </action> 1177 <action issue="LOG4J2-1862" dev="mattsicker" type="fix" due-to="wangyuntao"> 1178 Fix JavaDoc about @Order and OrderComparator ordering. 1179 </action> 1180 <action issue="LOG4J2-1849" dev="rpopma" type="fix"> 1181 Fixed daylight savings time (DST) issue with FixedDateFormat. 1182 </action> 1183 <action issue="LOG4J2-1850" dev="mattsicker" type="fix" due-to="Ludovic Hochet"> 1184 Fix CassandraRule and unit tests on Windows. 1185 </action> 1186 <action issue="LOG4J2-1840" dev="mattsicker" type="fix" due-to="Pradeep Balasundaram"> 1187 Fix typo in %replace converter documentation. 1188 </action> 1189 <action issue="LOG4J2-1846" dev="mikes" type="fix"> 1190 Handle when LogEvent.getLoggerName() returns null in LoggerNameLevelRewritePolicy. 1191 </action> 1192 <action issue="LOG4J2-1845" dev="mikes" type="fix"> 1193 Handle when LogEvent.getLoggerName() returns null in KafkaAppender. 1194 </action> 1195 <action issue="LOG4J2-1853" dev="ggregory" type="fix" due-to="wangyuntao"> 1196 The default value of RandomAccessFileAppender.Builder append field is wrong. 1197 </action> 1198 <action issue="LOG4J2-1863" dev="mattsicker" type="add"> 1199 Add support for filtering input in TcpSocketServer and UdpSocketServer. 1200 </action> 1201 <action issue="LOG4J2-1848" dev="mattsicker" type="add"> 1202 Add JSON encoding support to EncodingPatternConverter %encode{}. 1203 </action> 1204 <action issue="LOG4J2-1843" dev="mattsicker" type="add" due-to="Zilong Song"> 1205 Add support for appending common suffix to each line of throwable stack trace. 1206 </action> 1207 <action issue="LOG4J2-1838" dev="mattsicker" type="add" due-to="Zilong Song"> 1208 Add support for appending common suffix to each line of extended and root throwable stack trace. 1209 </action> 1210 <action issue="LOG4J2-1827" dev="rgoers" type="update"> 1211 Move integration tests to their own module to speed up build. 1212 </action> 1213 <action issue="LOG4J2-1835" dev="mattsicker" type="fix"> 1214 Fix documentation about the licensing for JeroMQ. 1215 </action> 1216 <action issue="LOG4J2-1836" dev="rgoers" type="fix"> 1217 Update the API version to 2.6.0. 1218 </action> 1219 <action issue="LOG4J2-1831" dev="ggregory" type="fix" due-to="Edward Serebrinskiy"> 1220 NullPointerException in HtmlLayout. 1221 </action> 1222 <action issue="LOG4J2-1820" dev="ggregory" type="fix" due-to="Jason Tedor"> 1223 Log4j 2.8 can lose exceptions when a security manager is present. 1224 </action> 1225 <action issue="LOG4J2-1856" dev="ggregory" type="update"> 1226 Update Jackson from 2.8.6 to 2.8.7. 1227 </action> 1228 </release> 1229 <release version="2.8.1" date="2017-02-26" description="GA Release 2.8.1"> 1230 <action issue="LOG4J2-1804" dev="rgoers" type="fix" due-to="Pierrick Hymbert"> 1231 Allow %i in file pattern to be preceded with characters other than just '-'. 1232 </action> 1233 <action issue="LOG4J2-1822" dev="rgoers" type="update"> 1234 Update SLF4J to 1.7.24. 1235 </action> 1236 <action issue="LOG4J2-1812" dev="rpopma" type="update"> 1237 Improved error message when log4j 2 configuration file not found. 1238 </action> 1239 <action issue="LOG4J2-1810" dev="rgoers" type="update"> 1240 Update to use Logback 1.1.10 and then Logback 1.2 for tests. 1241 </action> 1242 <action issue="LOG4J2-1819" dev="ggregory" type="update"> 1243 Update Jackson from 2.8.5 to 2.8.6. 1244 </action> 1245 <action issue="LOG4J2-1753" dev="ggregory" type="fix" due-to="Ludovic Hochet"> 1246 Fix ClassNotFoundException org.apache.logging.log4j.core.util.ExecutorServices in OSGi tests. 1247 </action> 1248 <action issue="LOG4J2-1816" dev="rpopma" type="fix" due-to="shubhankar1100"> 1249 Change minOccur to minOccurs in Log4j-config.xsd. 1250 </action> 1251 <action issue="LOG4J2-1803" dev="rgoers" type="fix"> 1252 Fix Maven POM to ensure JMH generated classes in log4j-perf are included in benchmarks jar. 1253 </action> 1254 <action issue="LOG4J2-1800" dev="mikes" type="fix" due-to="Vincent Tieleman"> 1255 Report errors when sending to Kafka when using syncSend=false. 1256 </action> 1257 <action issue="LOG4J2-1805" dev="rpopma" type="fix"> 1258 Fixed rare race condition in FixedDateFormat, made FixedDateFormat::millisSinceMidnight method public. 1259 </action> 1260 <action issue="LOG4J2-1799" dev="rpopma" type="fix" due-to="Eduard Gizatullin"> 1261 Fixed bug in PropertiesUtil::getCharsetProperty that caused UnsupportedCharsetException for ConsoleAppender. 1262 </action> 1263 <action issue="LOG4J2-1806" dev="rpopma" type="fix" due-to="challarao"> 1264 Fix Javadoc for DefaultRolloverStrategy::purgeAscending 1265 </action> 1266 <action issue="LOG4J2-1818" dev="ggregory" type="fix" due-to="xkr47"> 1267 Fix rollover to work when filePattern contains no directory components. 1268 </action> 1269 <action issue="LOG4J2-1823" dev="mattsicker" type="add"> 1270 Remove deprecation on MessageSupplier lambda functions in Logger API. 1271 </action> 1272 <action issue="LOG4J2-1807" dev="ggregory" type="add"> 1273 [core] Add and implement LogEvent.toImmutable(). 1274 </action> 1275 </release> 1276 <release version="2.8" date="2017-01-21" description="GA Release 2.8"> 1277 <action issue="LOG4J2-1780" dev="mikes" type="fix"> 1278 Eliminate the use of the ExecutorServices in the LoggerContext. 1279 </action> 1280 <action issue="LOG4J2-1032" dev="rgoers" type="add"> 1281 Make DefaultRolloverStrategy more efficient when renaming files. Add nomax option to the fileIndex attribute. 1282 </action> 1283 <action issue="LOG4J2-1101" dev="rgoers" type="add"> 1284 RollingFileAppender now supports omitting the file name and writing directly to the archive files. 1285 </action> 1286 <action issue="LOG4J2-1786" dev="rpopma" type="fix"> 1287 ConfigurationScheduler now preserves interrupt flag during stop. 1288 </action> 1289 <action issue="LOG4J2-1243" dev="rgoers" type="add"> 1290 Allow default value in property to be a Lookup. 1291 </action> 1292 <action issue="LOG4J2-1779" dev="rpopma" type="fix"> 1293 Fixed bug where AsyncLogger did not resolve configuration properties. 1294 </action> 1295 <action issue="LOG4J2-1769" dev="rpopma" type="fix" due-to="Brandon Goodin"> 1296 Fixed concurrency issue affecting all layouts except PatternLayout and GelfLayout, which caused scrambled output and exceptions when logging synchronously from multiple threads. 1297 </action> 1298 <action issue="LOG4J2-1724" dev="mikes" type="fix" due-to="Alexander Krasnostavsky"> 1299 Using variables in GelfLayout's additional fields at runtime. 1300 </action> 1301 <action issue="LOG4J2-1762" dev="mikes" type="fix"> 1302 Add Builder to GelfLayout. 1303 </action> 1304 <action issue="LOG4J2-1649" dev="rgoers" type="fix" due-to="Georg Friedrich"> 1305 Insure the ConfigurationScheduler shuts down without blocking. 1306 </action> 1307 <action issue="LOG4J2-1653" dev="rgoers" type="fix" due-to=" Georg Friedrich"> 1308 CronTriggeringPolicy would use the wrong date/time when rolling over and create multiple triggering policies on reconfiguration. 1309 </action> 1310 <action issue="LOG4J2-1748" dev="mikes" type="fix"> 1311 Do not use non-daemon thread pool for rollover tasks. 1312 </action> 1313 <action issue="LOG4J2-1628" dev="rpopma" type="fix"> 1314 Fixed file locking regression in FileAppender introduced in 2.6. 1315 </action> 1316 <action issue="LOG4J2-1744" dev="rpopma" type="fix"> 1317 The custom logger Generate tool no longer requires the log4j-api module on the classpath. 1318 </action> 1319 <action issue="LOG4J2-1731" dev="rpopma" type="fix" due-to="Chris Ribble"> 1320 SslSocketManager now respects connectTimeoutMillis. 1321 </action> 1322 <action issue="LOG4J2-1682" dev="ggregory" type="fix" due-to="Markus Waidhofer"> 1323 Logger using LocalizedMessageFactory prints key instead of message. 1324 </action> 1325 <action issue="LOG4J2-1720" dev="mikes" type="fix"> 1326 Make GelfLayout independent of Jackson. 1327 </action> 1328 <action issue="LOG4J2-1719" dev="rpopma" type="fix"> 1329 Fixed race condition in ObjectMessage and SimpleMessage, ensuring that the log message contains the value the object has during the logging call. 1330 </action> 1331 <action issue="LOG4J2-1688" dev="rpopma" type="fix"> 1332 Fixed bug where elements of a log message parameter array were nulled out in garbage-free mode. 1333 </action> 1334 <action issue="LOG4J2-1692" dev="mikes" type="fix" due-to="Greg Thomas"> 1335 Add putAll() method to CloseableThreadContext. 1336 </action> 1337 <action issue="LOG4J2-1689" dev="mikes" type="fix"> 1338 Add CleanableThreadContextMap interface supporting method removeAll(Iterable<String>). 1339 </action> 1340 <action issue="LOG4J2-1685" dev="mikes" type="fix" due-to="Raman Gupta"> 1341 Option 'disableAnsi' in PatternLayout to unconditionally disable ANSI escape codes. 1342 </action> 1343 <action issue="LOG4J2-1706" dev="rpopma" type="fix"> 1344 Make TimeFilter usable as global filter and as logger filter. 1345 </action> 1346 <action issue="LOG4J2-1722" dev="rpopma" type="fix"> 1347 (GC) Avoid allocating temporary objects in VariablesNotEmptyReplacementConverter. 1348 </action> 1349 <action issue="LOG4J2-1717" dev="rpopma" type="fix"> 1350 (GC) Avoid allocating temporary objects in EncodingPatternConverter. 1351 </action> 1352 <action issue="LOG4J2-1716" dev="rpopma" type="fix"> 1353 (GC) Avoid allocating temporary objects in MapPatternConverter. (Note that constructing a MapMessage is not garbage-free.) 1354 </action> 1355 <action issue="LOG4J2-1683" dev="rpopma" type="fix"> 1356 (GC) Avoid allocating temporary objects in MapMessage. 1357 </action> 1358 <action issue="LOG4J2-1715" dev="rpopma" type="fix"> 1359 (GC) Avoid allocating temporary objects in NdcPatternConverter. (Note that use of the ThreadContext stack is not garbage-free.) 1360 </action> 1361 <action issue="LOG4J2-1714" dev="rpopma" type="fix"> 1362 (GC) Avoid allocating temporary objects in AbstractStyleNameConverter. 1363 </action> 1364 <action issue="LOG4J2-1680" dev="rpopma" type="fix"> 1365 (GC) Avoid allocating temporary objects in TimeFilter. 1366 </action> 1367 <action issue="LOG4J2-1679" dev="rpopma" type="fix"> 1368 (GC) Avoid allocating temporary objects in StructuredDataFilter. 1369 </action> 1370 <action issue="LOG4J2-1678" dev="rpopma" type="fix"> 1371 (GC) Avoid allocating temporary objects in ThreadContextMapFilter. 1372 </action> 1373 <action issue="LOG4J2-1677" dev="rpopma" type="fix"> 1374 (GC) Avoid allocating temporary objects in MapFilter. 1375 </action> 1376 <action issue="LOG4J2-1674" dev="rpopma" type="fix"> 1377 (GC) Avoid allocating temporary objects in ThresholdFilter. 1378 </action> 1379 <action issue="LOG4J2-1673" dev="rpopma" type="fix"> 1380 (GC) Avoid allocating temporary objects in MarkerFilter. 1381 </action> 1382 <action issue="LOG4J2-1672" dev="rpopma" type="fix"> 1383 (GC) Avoid allocating temporary objects in LevelRangeFilter. 1384 </action> 1385 <action issue="LOG4J2-1671" dev="rpopma" type="fix"> 1386 (GC) Avoid allocating temporary objects in EqualsIgnoreCaseReplacementConverter. 1387 </action> 1388 <action issue="LOG4J2-1670" dev="rpopma" type="fix"> 1389 (GC) Avoid allocating temporary objects in EqualsReplacementConverter. 1390 </action> 1391 <action issue="LOG4J2-1669" dev="rpopma" type="fix"> 1392 (GC) Avoid allocating temporary objects in MaxLengthConverter. 1393 </action> 1394 <action issue="LOG4J2-1668" dev="rpopma" type="fix"> 1395 (GC) Avoid allocating temporary objects in MarkerPatternConverter. 1396 </action> 1397 <action issue="LOG4J2-1667" dev="rpopma" type="fix"> 1398 (GC) Avoid allocating temporary objects in SequenceNumberPatternConverter. 1399 </action> 1400 <action issue="LOG4J2-1666" dev="rpopma" type="fix"> 1401 (GC) Avoid allocating temporary objects in RelativeTimePatternConverter. 1402 </action> 1403 <action issue="LOG4J2-1665" dev="rpopma" type="fix"> 1404 (GC) Avoid allocating temporary objects in IntegerPatternConverter. 1405 </action> 1406 <action issue="LOG4J2-1637" dev="rpopma" type="fix"> 1407 Fixed problems when used in OSGi containers (IllegalAccessError, NoClassDefFoundError). 1408 </action> 1409 <action issue="LOG4J2-1226" dev="rpopma" type="fix"> 1410 Improve LogEvent serialization to handle non-serializable Messages and deserializing when required classes are missing. 1411 </action> 1412 <action issue="LOG4J2-1663" dev="rpopma" type="fix"> 1413 Ensure SortedArrayStringMap can be serialized and deserialized without errors regardless of content. 1414 </action> 1415 <action issue="LOG4J2-1658" dev="rpopma" type="fix"> 1416 Prevent NPE in ThreadContextMapFactory::createThreadContextMap when initializing Log4j with Configurator::initialize and the BasicContextSelector is used. 1417 </action> 1418 <action issue="LOG4J2-1645" dev="mikes" type="fix"> 1419 Immutable empty StringMap. 1420 </action> 1421 <action issue="LOG4J2-1623" dev="mikes" type="fix"> 1422 Configurable JVM shutdown hook timeout. 1423 </action> 1424 <action issue="LOG4J2-1712" dev="ggregory" type="fix"> 1425 Pick up bug fixes from Apache Commons Lang's org.apache.commons.lang3.time package. 1426 </action> 1427 <action issue="LOG4J2-1636" dev="ggregory" type="fix" due-to="Eldar Gabdullin"> 1428 Console Appender does not pick up Oracle Java 8's sun.stdout.encoding and sun.stderr.encoding. 1429 </action> 1430 <action issue="LOG4J2-1639" dev="ggregory" type="fix" due-to="Sridhar Gopinath"> 1431 Fix MemoryMappedFileAppender.createAppender() Javadoc for immediateFlush. 1432 </action> 1433 <action issue="LOG4J2-1676" dev="ggregory" type="fix" due-to="Joern Huxhorn"> 1434 Some LogEvents may not carry a Throwable (Use Message.getThrowable() in log(Message) methods.) 1435 </action> 1436 <action issue="LOG4J2-1723" dev="ggregory" type="fix" due-to="Ludovic HOCHET"> 1437 Unwanted transitive dependency on geronimo-jms_1.1_spec causes OSGi tests to fail. 1438 </action> 1439 <action issue="LOG4J2-1664" dev="ggregory" type="fix" due-to="Ludovic HOCHET"> 1440 Improve OSGi unit tests. 1441 </action> 1442 <action issue="LOG4J2-1687" dev="ggregory" type="fix" due-to="Robert Christiansen"> 1443 NPE in ThrowableProxy when resolving stack in Java EE/OSGi environment. 1444 </action> 1445 <action issue="LOG4J2-1642" dev="ggregory" type="fix" due-to="Johno Crawford"> 1446 DefaultShutdownCallbackRegistry can throw a NoClassDefFoundError. 1447 </action> 1448 <action issue="LOG4J2-1474" dev="ggregory" type="fix" due-to="yin mingjun, Neon"> 1449 CronTriggeringPolicy raise exception and fail to rollover log file when evaluateOnStartup is true. 1450 </action> 1451 <action issue="LOG4J2-1734" dev="ggregory" type="fix"> 1452 SslSocketManagerFactory might leak Sockets when certain startup errors occur. 1453 </action> 1454 <action issue="LOG4J2-1736" dev="ggregory" type="fix"> 1455 TcpSocketManagerFactory might leak Sockets when certain startup errors occur. 1456 </action> 1457 <action issue="LOG4J2-1740" dev="ggregory" type="fix"> 1458 Add CronTriggeringPolicy programmatically leads to NPE. 1459 </action> 1460 <action issue="LOG4J2-1743" dev="ggregory" type="fix" due-to="Toby Shepheard"> 1461 CompositeConfiguration does not add filters to appenderRefs. 1462 </action> 1463 <action issue="LOG4J2-1756" dev="ggregory" type="fix" due-to="shubhankar1100"> 1464 Adds xmlns in schema and some other tags. 1465 </action> 1466 <action issue="LOG4J2-1781" dev="mattsicker" type="update"> 1467 Update Conversant Disruptor from 1.2.7 to 1.2.10 1468 </action> 1469 <action issue="LOG4J2-1774" dev="mattsicker" type="update"> 1470 Replace MockEJB dependency in unit tests with Spring Test and Mockito. 1471 </action> 1472 <action issue="LOG4J2-1644" dev="ggregory" type="update" due-to="Tim Gokcen, Pavel Sivolobtchik"> 1473 Inefficient locking in AbstractLoggerAdapter. 1474 </action> 1475 <action issue="LOG4J2-1641" dev="ggregory" type="update"> 1476 Update JeroMQ from 0.3.5 to 0.3.6. 1477 </action> 1478 <action issue="LOG4J2-1647" dev="mattsicker" type="update"> 1479 Update Commons Lang from 3.4 to 3.5. 1480 </action> 1481 <action issue="LOG4J2-1646" dev="mattsicker" type="update"> 1482 Migrate to Mockito 2.x in unit tests. 1483 </action> 1484 <action issue="LOG4J2-1655" dev="ggregory" type="update"> 1485 Update Jackson from 2.8.3 to 2.8.4. 1486 </action> 1487 <action issue="LOG4J2-1735" dev="ggregory" type="update"> 1488 Update Jackson from 2.8.4 to 2.8.5. 1489 </action> 1490 <action issue="LOG4J2-1656" dev="ggregory" type="update"> 1491 Update Apache Flume from 1.6.0 to 1.7.0. 1492 </action> 1493 <action issue="LOG4J2-1698" dev="ggregory" type="update"> 1494 Update LMAX Disruptor from 3.3.5 to 3.3.6. 1495 </action> 1496 <action issue="LOG4J2-1700" dev="ggregory" type="update"> 1497 Update Jansi from 1.13 to 1.14. 1498 </action> 1499 <action issue="LOG4J2-1750" dev="ggregory" type="update"> 1500 Update Kafka from 0.10.0.1 to 0.10.1.1. 1501 </action> 1502 <action issue="LOG4J2-1751" dev="ggregory" type="update"> 1503 Update liquibase-core from 3.5.1 to 3.5.3. 1504 </action> 1505 <action issue="LOG4J2-1302" dev="rpopma" type="update"> 1506 The log4j-slf4j-impl module now declares a runtime dependency on log4j-core. While not technically required, this makes the log4j-slf4j-impl module behave similarly to slf4j-log4j12, and facilitates migration to Log4j 2. 1507 </action> 1508 <action issue="LOG4J2-1787" dev="mattsicker" type="add"> 1509 Document how to exclude transitive conflicting dependencies in Maven and Gradle. 1510 </action> 1511 <action issue="LOG4J2-1773" dev="mattsicker" type="add"> 1512 Add StatusLoggerRule to allow unit tests to set a status level. 1513 </action> 1514 <action issue="LOG4J2-424" dev="mattsicker" type="add"> 1515 Add non-string data type support to JdbcAppender via new ColumnMapping plugin. 1516 </action> 1517 <action issue="LOG4J2-1771" dev="mattsicker" type="add"> 1518 Add a Builder to ColumnConfig and deprecate ColumnConfig.createColumnConfig(). 1519 </action> 1520 <action issue="LOG4J2-1770" dev="mattsicker" type="add"> 1521 Add a Builder to JdbcAppender and deprecate JdbcAppender.createAppender(). 1522 </action> 1523 <action issue="LOG4J2-1764" dev="mattsicker" type="add"> 1524 Use MethodHandle in ContextDataFactory cached constructor. 1525 </action> 1526 <action issue="LOG4J2-1730" dev="mattsicker" type="add"> 1527 Add Apache Cassandra appender and ColumnMapping plugin. 1528 </action> 1529 <action issue="LOG4J2-1759" dev="mattsicker" type="add"> 1530 Add TypeConverter for java.util.UUID. 1531 </action> 1532 <action issue="LOG4J2-1758" dev="mattsicker" type="add"> 1533 Add TypeConverter for java.nio.file.Path. 1534 </action> 1535 <action issue="LOG4J2-1755" dev="mattsicker" type="add"> 1536 Add TypeConverter and constraint validators for java.net.InetAddress and port numbers. 1537 </action> 1538 <action issue="LOG4J2-969" dev="ggregory" type="add"> 1539 Refactor SyslogAppender so that Layout is a Plugin element. 1540 </action> 1541 <action issue="LOG4J2-1660" dev="rpopma" type="add"> 1542 Added public method ThreadContext::getThreadContextMap; removed class ThreadContextAccess. 1543 </action> 1544 <action issue="LOG4J2-1379" dev="mattsicker" type="add"> 1545 Add documentation regarding YAML configuration format. 1546 </action> 1547 <action issue="LOG4J2-1718" dev="rpopma" type="add"> 1548 Introduce marker interface AsynchronouslyFormattable. 1549 </action> 1550 <action issue="LOG4J2-1681" dev="rpopma" type="add"> 1551 Introduce interfaces IndexedStringMap and IndexedReadOnlyStringMap, supporting garbage-free iteration over sorted map. 1552 </action> 1553 <action issue="LOG4J2-1695" dev="ggregory" type="add"> 1554 Add a Builder to ScriptPatternSelector and deprecate ScriptPatternSelector.createSelector(). 1555 </action> 1556 <action issue="LOG4J2-1696" dev="ggregory" type="add"> 1557 Add a Builder to MarkerPatternSelector and deprecate MarkerPatternSelector.createSelector(). 1558 </action> 1559 <action issue="LOG4J2-1697" dev="ggregory" type="add"> 1560 Add a SerializerBuilder to PatternLayout and deprecate PatternLayout.createSerializer(). 1561 </action> 1562 <action issue="LOG4J2-1701" dev="ggregory" type="add"> 1563 Add a Builder to RandomAccessFileAppender and deprecate RandomAccessFileAppender.createAppender(). 1564 </action> 1565 <action issue="LOG4J2-1703" dev="ggregory" type="add"> 1566 Add a Builder to MemoryMappedFileAppender and deprecate MemoryMappedFileAppender.createAppender(). 1567 </action> 1568 <action issue="LOG4J2-1704" dev="ggregory" type="add"> 1569 Add a Builder to RollingRandomAccessFileAppender and deprecate RollingRandomAccessFileAppender.createAppender(). 1570 </action> 1571 <action issue="LOG4J2-1709" dev="ggregory" type="add"> 1572 Add a Builder to SyslogAppender and deprecate SyslogAppender.createAppender(). 1573 </action> 1574 <action issue="LOG4J2-1707" dev="ggregory" type="add"> 1575 Allow TCP Socket Appender to set socket options. 1576 </action> 1577 <action issue="LOG4J2-1708" dev="ggregory" type="add"> 1578 Allow Secure Socket Appender to set socket options. 1579 </action> 1580 <action issue="LOG4J2-1737" dev="ggregory" type="add"> 1581 Add a Builder to SyslogLayout and deprecate SyslogLayout.createLayout(Facility, boolean, String, Charset). 1582 </action> 1583 <action issue="LOG4J2-1738" dev="ggregory" type="add"> 1584 Add a Builder to JsonLayout and deprecate org.apache.logging.log4j.core.layout.JsonLayout.createLayout(Configuration, boolean, boolean, boolean, boolean, boolean, boolean, String, String, Charset, boolean). 1585 </action> 1586 <action issue="LOG4J2-1739" dev="ggregory" type="add"> 1587 Add Builder to KafkaAppender and deprecate KafkaAppender.createAppender(Layout, Filter, String, boolean, String, Property[], Configuration). 1588 </action> 1589 <action issue="LOG4J2-1733" dev="ggregory" type="add" due-to="Vincent Tieleman"> 1590 Add SyncSend attribute to KafkaAppender (as in KafkaLog4jAppender). 1591 </action> 1592 <action issue="LOG4J2-2195" dev="ggregory" type="fix" due-to="Raman Gupta, Gary Gregory"> 1593 Cannot define both `filters` and `separator` for PatternLayout %xEx. 1594 </action> 1595 <action issue="LOG4J2-2221" dev="ggregory" type="fix" due-to="Raman Gupta, Gary Gregory"> 1596 RootThrowablePatternConverter does not use TextRenderer or line separator options. 1597 </action> 1598 </release> 1599 <release version="2.7" date="2016-10-02" description="GA Release 2.7"> 1600 <action issue="LOG4J2-1618" dev="rpopma" type="fix" due-to="Raman Gupta"> 1601 Fixed ClassCastException when using JUL logging during shutdown. 1602 </action> 1603 <action issue="LOG4J2-1620" dev="ggregory" type="fix" due-to="Sascha Scholz"> 1604 2.7-rc1: RollingFileAppender immediateFlush default value should be true, not false. 1605 </action> 1606 <action issue="LOG4J2-1611" dev="rpopma" type="fix"> 1607 Improved performance of context data injector for web applications to be on par with standalone applications. 1608 </action> 1609 <action issue="LOG4J2-1591" dev="rpopma" type="fix"> 1610 Introduced new interface LifeCycle2 with stop(long,TimeUnit) method to avoid breaking backwards compatibility with new Configurator.shutdown(LoggerContext, long, TimeUnit) API. 1611 </action> 1612 <action issue="LOG4J2-1590" dev="rpopma" type="fix"> 1613 Fixed issue with filters extending AbstractFilter that did not override methods with unrolled varargs. 1614 </action> 1615 <action issue="LOG4J2-1583" dev="rpopma" type="fix" due-to="Larry West"> 1616 Fixed scrambled log messages triggered by nested logging from toString() method of a logging parameter object. 1617 </action> 1618 <action issue="LOG4J2-1259" dev="ggregory" type="fix" due-to="Misagh Moayyed, Steffen Offermann"> 1619 Log4j threads are no longer leaking on Tomcat shutdown. 1620 </action> 1621 <action issue="LOG4J2-1051" dev="rpopma" type="fix" due-to="Lukasz Lenart"> 1622 When starting on Google App Engine, Interpolator now suppresses the NoClassDefFoundError stack trace for the jvmrunargs lookup. 1623 </action> 1624 <action issue="LOG4J2-1582" dev="rpopma" type="fix"> 1625 When initializing on platforms where JMX is not available, Interpolator component no longer prints stack trace for warning messages. 1626 </action> 1627 <action issue="LOG4J2-1581" dev="rpopma" type="fix"> 1628 Unregistering JMX components no longer prints a stack trace when the MBean has already been unregistered. 1629 </action> 1630 <action issue="LOG4J2-1313" dev="rpopma" type="fix" due-to="Philipp Knobel, Leon Finker"> 1631 Support Property values to be specified in configuration as a value attribute as well as an element. 1632 </action> 1633 <action issue="LOG4J2-1575" dev="rpopma" type="fix"> 1634 (GC) LoggerConfig now stores configuration properties in a List, not a Map to prevent creating temporary Iterator objects. Added method LoggerConfig#getPropertyList(), deprecated method #getProperties(). 1635 </action> 1636 <action issue="LOG4J2-1457" dev="mattsicker" type="fix" due-to="Leon Finker"> 1637 Fixed class loader deadlock when using async logging and extended stack trace pattern. 1638 </action> 1639 <action issue="LOG4J2-1563" dev="ggregory" type="fix" due-to="Jason Tedor"> 1640 Fix to prevent Log4j 2.6.2 and higher from losing exceptions when a security manager is present. 1641 </action> 1642 <action issue="LOG4J2-1530" dev="mikes" type="fix"> 1643 Fixed issue where LogEvent.getContextStack() returned null. 1644 </action> 1645 <action issue="LOG4J2-1518" dev="rpopma" type="fix" due-to="Leon Finker"> 1646 Prevent deadlock in Async Loggers when queue is full and logged Object's toString() logs another message. 1647 </action> 1648 <action issue="LOG4J2-1542" dev="rpopma" type="fix" due-to="Rogério Lecarião Leite"> 1649 Prevent ArrayIndexOutOfBoundsException in ParameterizedMessage.formatTo for single-char or empty messages. 1650 </action> 1651 <action issue="LOG4J2-1549" dev="mikes" type="fix" due-to="Jason Bedard"> 1652 Fixed issue where AsyncLoggerContextSelector+PropertiesConfigurationBuilder defaulted to includeLocation=true. 1653 </action> 1654 <action issue="LOG4J2-1562" dev="ggregory" type="fix"> 1655 Prevent SocketAppender memory usage from growing unbounded if it cannot connect to a server. 1656 </action> 1657 <action issue="LOG4J2-1559" dev="ggregory" type="fix" due-to="Andrey Plotkin"> 1658 Prevent NPE in Level.isInRange. 1659 </action> 1660 <action issue="LOG4J2-1511" dev="ggregory" type="fix" due-to="Srikanth Surukuntu"> 1661 DynamicThresholdFilter filtered incorrectly when params were passed as individual arguments instead of varargs. 1662 </action> 1663 <action issue="LOG4J2-1548" dev="ggregory" type="fix"> 1664 [CronTriggeringPolicy] ConfigurationScheduler scheduled the task infinitely after first fire. 1665 </action> 1666 <action issue="LOG4J2-1506" dev="ggregory" type="fix" due-to="Johannes Schleger"> 1667 Log4j should not unregister JMX MBeans when log4j2.disable.jmx property is true. 1668 </action> 1669 <action issue="LOG4J2-1490" dev="ggregory" type="fix" due-to="Krzysztof Taborski"> 1670 Log4j2 should postpone creating log file until the appender actually receives an event. 1671 </action> 1672 <action issue="LOG4J2-1320" dev="ggregory" type="fix" due-to="Paresh Varke, Pierrick Hymbert"> 1673 Support loading custom plugins from jar files and directories whose classpath entries use the "vfs" URL protocol. 1674 </action> 1675 <action issue="LOG4J2-1541" dev="ggregory" type="fix"> 1676 Fix file handle resource leak in XmlConfiguration.XmlConfiguration(ConfigurationSource). 1677 </action> 1678 <action issue="LOG4J2-1538" dev="ggregory" type="fix" due-to="Igor Karpov"> 1679 Prevent NPE when dynamically removing filters. 1680 </action> 1681 <action issue="LOG4J2-1532" dev="ggregory" type="fix"> 1682 Attributes were not merged properly in composite configurations. 1683 </action> 1684 <action issue="LOG4J2-1529" dev="mattsicker" type="fix" due-to="Sridevi Narra"> 1685 Attributes were not merged properly in composite configurations. 1686 </action> 1687 <action issue="LOG4J2-1527" dev="rpopma" type="fix" due-to="Jose Leon"> 1688 Prevent NPE in RingBufferLogEvent.getFormattedMessage() when used in web applications. 1689 </action> 1690 <action issue="LOG4J2-905" dev="ggregory" type="fix" due-to="Moritz Löser"> 1691 Added ability to disable (date) lookup completely for compatibility with other libraries like Camel. 1692 </action> 1693 <action issue="LOG4J2-1526" dev="mikes" type="fix"> 1694 Added support for setting StatusLogger destination in ConfigurationBuilder. 1695 </action> 1696 <action issue="LOG4J2-1448" dev="rpopma" type="fix" due-to="Keith Laban"> 1697 Allow comma separated agents, host list to be passed to FlumeAppender. 1698 </action> 1699 <action issue="LOG4J2-1500" dev="ggregory" type="fix" due-to="Jose Leon"> 1700 Merging configurations failed with an NPE when comparing Nodes with different attributes. 1701 </action> 1702 <action issue="LOG4J2-1482" dev="ggregory" type="fix" due-to="Sumit Singhal"> 1703 Fixed improper header in CsvParameterLayout. 1704 </action> 1705 <action issue="LOG4J2-1199" dev="rpopma" type="fix"> 1706 Documented that JVM Input Arguments Lookup (JMX) is not available on Google App Engine. 1707 </action> 1708 <action issue="LOG4J2-1438" dev="rpopma" type="fix"> 1709 (GC) Added method getParameter() to ObjectMessage (and ReusableObjectMessage). 1710 </action> 1711 <action issue="LOG4J2-1488" dev="rpopma" type="fix" due-to="Richard Zschech"> 1712 (GC) Fixed ISO8601 %date conversion pattern with a period '.' separator for milliseconds is now garbage free. 1713 </action> 1714 <action issue="LOG4J2-1489" dev="rpopma" type="fix" due-to="Richard Zschech"> 1715 (GC) Fixed %date conversion patterns with a timezone parameter are now garbage free. 1716 </action> 1717 <action issue="LOG4J2-1279" dev="rpopma" type="fix" due-to="Tony Baines"> 1718 Prevent NullPointerException in FastDateParser$TimeZoneStrategy. 1719 </action> 1720 <action issue="LOG4J2-1341" dev="rpopma" type="fix" due-to="Richard Zschech"> 1721 (GC) HighlightConverter and StyleConverter are now GC-free. 1722 </action> 1723 <action issue="LOG4J2-1467" dev="rpopma, ggregory" type="fix" due-to="Ralf, Gary Gregory"> 1724 [OSGi] Fixed missing import package. 1725 </action> 1726 <action issue="LOG4J2-351" dev="rpopma, ggregory" type="fix" due-to="Roland Weiglhofer"> 1727 [OSGi] Fixed wrong Fragment-Host in manifest files. 1728 </action> 1729 <action issue="LOG4J2-1313" dev="rpopma" type="fix" due-to="Philipp Knobel"> 1730 Properties declared in configuration can now have their value either in the element body or in an attribute named "value". 1731 </action> 1732 <action issue="LOG4J2-1235" dev="ggregory" type="fix" due-to="Niranjan Rao, Sascha Scholz, Aleksey Zvolinsky"> 1733 org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy was not working correctly. 1734 </action> 1735 <action issue="LOG4J2-1502" dev="ggregory" type="fix" due-to="Sumit Singhal"> 1736 Fixed issue where CsvParameterLayout and CsvLogEventLayout inserted NUL characters if data starts with {, (, [ or " 1737 </action> 1738 <action issue="LOG4J2-1573" dev="ggregory" type="fix" due-to="Steffen Offermann"> 1739 Layout is no longer optional. 1740 </action> 1741 <action issue="LOG4J2-1608" dev="ggregory" type="fix"> 1742 ServletAppender does not provide throwable object to ServletContext. 1743 </action> 1744 <action issue="LOG4J2-1599" dev="ggregory" type="fix"> 1745 Prevent potential NPE in org.apache.logging.log4j.message.ParameterFormatter.formatMessage3(StringBuilder, char[], int, Object[], int, int[]). 1746 </action> 1747 <action issue="LOG4J2-1600" dev="ggregory" type="fix"> 1748 Prevent potential NPE due to org.apache.logging.log4j.core.layout.MarkerPatternSelector.createSelector(PatternMatch[], String, boolean, boolean, Configuration). 1749 </action> 1750 <action issue="LOG4J2-1601" dev="ggregory" type="fix"> 1751 Prevent potential NPE due to org.apache.logging.log4j.core.layout.ScriptPatternSelector.createSelector(AbstractScript, PatternMatch[], String, boolean, boolean, Configuration). 1752 </action> 1753 <action issue="LOG4J2-1602" dev="ggregory" type="fix"> 1754 Prevent potential NPE in org.apache.logging.log4j.core.util.datetime.FormatCache.MultipartKey.equals(Object) when object is null. 1755 </action> 1756 <action issue="LOG4J2-1603" dev="ggregory" type="fix"> 1757 Redo hashCode() and equals() methods in org.apache.logging.log4j.core.net.ssl classes. 1758 </action> 1759 <action issue="LOG4J2-1610" dev="ggregory" type="fix" due-to="Shubhankar"> 1760 Add targetNamespace to log4j-config.xsd. GitHub #43. 1761 </action> 1762 <action issue="LOG4J2-1619" dev="ggregory" type="fix"> 1763 new Log4jLogEvent().toString() throws an NPE. 1764 </action> 1765 <action issue="LOG4J2-1578" dev="ggregory" type="add"> 1766 RoutingAppender can be configured with scripts. Add Script in a Routes element. 1767 </action> 1768 <action issue="LOG4J2-1597" dev="ggregory" type="add"> 1769 Add a ScriptAppenderSelector to create an Appender specified by a Script. 1770 </action> 1771 <action issue="LOG4J2-1349" dev="rpopma" type="add"> 1772 (GC) Added support for garbage-free ThreadContext map. Disabled by default, users need to enable this explicitly. 1773 </action> 1774 <action issue="LOG4J2-1447" dev="rpopma" type="add"> 1775 (GC) Changed LogEvent's internal data structure for context data to be garbage-free. Added method LogEvent#getContextData(), deprecated method #getContextMap(). 1776 </action> 1777 <action issue="LOG4J2-1010" dev="rpopma" type="add" due-to="Mikael Ståldal"> 1778 Users can now inject context data from other sources than ThreadContext. Values can be any Object, not just Strings. 1779 </action> 1780 <action issue="LOG4J2-1568" dev="mattsicker" type="add"> 1781 Added support for java.util.concurrent.LinkedTransferQueue to AsyncAppender. 1782 </action> 1783 <action issue="LOG4J2-1430" dev="mattsicker" type="add" due-to="John Cairns"> 1784 Added optional support for Conversant DisruptorBlockingQueue in AsyncAppender. 1785 </action> 1786 <action issue="LOG4J2-1439" dev="mattsicker" type="add" due-to="Anthony Maire"> 1787 Added optional support for JCTools MPSC bounded lock-free queue in AsyncAppender. 1788 </action> 1789 <action issue="LOG4J2-1558" dev="ggregory" type="add"> 1790 SocketAppender now supports IO buffering. 1791 </action> 1792 <action issue="LOG4J2-1557" dev="ggregory" type="add"> 1793 Add a Builder for the SocketAppender (deprecates factory method). 1794 </action> 1795 <action issue="LOG4J2-1609" dev="ggregory" type="add"> 1796 Add a Builder to ServletAppender and deprecate factory method. 1797 </action> 1798 <action issue="LOG4J2-1553" dev="ggregory" type="add"> 1799 AbstractManager now implements AutoCloseable. 1800 </action> 1801 <action issue="LOG4J2-1528" dev="mikes" type="add"> 1802 Added ability to generate Log4j 2-style XML configuration file from ConfigurationBuilder. 1803 </action> 1804 <action issue="LOG4J2-1181" dev="mikes" type="add"> 1805 Added Logging API for Scala 2.10 and 2.11. 1806 </action> 1807 <action issue="LOG4J2-1512" dev="mikes" type="add"> 1808 Added options to exclude stack trace from JSON, XML and YAML layouts. 1809 </action> 1810 <action issue="LOG4J2-1539" dev="ggregory" type="add"> 1811 Added Core API Configurator.shutdown(LoggerContext, long, TimeUnit). 1812 </action> 1813 <action issue="LOG4J2-1501" dev="ggregory" type="add"> 1814 FileAppender is now able to create files on-demand. 1815 </action> 1816 <action issue="LOG4J2-1504" dev="ggregory" type="add"> 1817 RollingFileAppender is now able to create files on-demand. 1818 </action> 1819 <action issue="LOG4J2-1471" dev="ggregory" type="add"> 1820 [PatternLayout] Add an ANSI option to %xThrowable. 1821 </action> 1822 <action issue="LOG4J2-1472" dev="ggregory" type="add"> 1823 org.apache.logging.log4j.core.LoggerContext now implements Closeable. 1824 </action> 1825 <action issue="LOG4J2-1458" dev="ggregory" type="add"> 1826 [PatternLayout] Add an ANSI option to %message. 1827 </action> 1828 <action issue="LOG4J2-1505" dev="ggregory" type="add"> 1829 Create a Builder for the FileAppender plugin to facilitate adding attributes in the future. 1830 </action> 1831 <action issue="LOG4J2-1507" dev="ggregory" type="add"> 1832 Allow Builders to be completely generic. 1833 </action> 1834 <action issue="LOG4J2-1508" dev="ggregory" type="add"> 1835 Allow a Builder to subclass another Builder. 1836 </action> 1837 <action issue="LOG4J2-1516" dev="rpopma" type="add" due-to="Gary Gregory"> 1838 Add ThreadContextMap2 interface supporting method putAll(Map<String, String>). 1839 </action> 1840 <action issue="LOG4J2-1519" dev="ggregory" type="add"> 1841 Add ThreadContext.putAll(Map<String, String>). 1842 </action> 1843 <action issue="LOG4J2-1520" dev="ggregory" type="add"> 1844 Add JUnit Rule implementations to manage the thread context. 1845 </action> 1846 <action issue="LOG4J2-1547" dev="ggregory" type="add"> 1847 The Core AbstractConfiguration now tracks its LoggerContext and add Configuration.getLoggerContext(). 1848 </action> 1849 <action issue="LOG4J2-1540" dev="ggregory" type="add"> 1850 The Core AbstractManager now tracks its LoggerContext. 1851 </action> 1852 <action issue="LOG4J2-1577" dev="ggregory" type="add"> 1853 Add a Builder to the RoutingAppender and deprecate factory method. 1854 </action> 1855 <action issue="LOG4J2-1604" dev="ggregory" type="update" due-to="Colin Hillman"> 1856 Log4j2 TcpSocketServer in background. 1857 </action> 1858 <action issue="LOG4J2-1574" dev="ggregory" type="update"> 1859 Allow the RollingFileAppender to use default pattern layout. 1860 </action> 1861 <action issue="LOG4J2-1556" dev="ggregory" type="update"> 1862 Custom Log4j threads now extend Log4jThread. 1863 </action> 1864 <action issue="LOG4J2-1605" dev="ggregory" type="update"> 1865 Improve error messages for TcpSocketServer and UdpSocketServer. 1866 </action> 1867 <action issue="LOG4J2-1458" dev="ggregory" type="update"> 1868 Updated Jackson from 2.7.5 to 2.8.0. 1869 </action> 1870 <action issue="LOG4J2-1494" dev="ggregory" type="update"> 1871 Updated Jackson from 2.8.0 to 2.8.1. 1872 </action> 1873 <action issue="LOG4J2-1569" dev="ggregory" type="update"> 1874 Updated Jackson from 2.8.1 to 2.8.2. 1875 </action> 1876 <action issue="LOG4J2-1598" dev="ggregory" type="update"> 1877 Updated Jackson from 2.8.2 to 2.8.3. 1878 </action> 1879 <action issue="LOG4J2-1495" dev="ggregory" type="update"> 1880 Updated LMAX Disruptor from 3.3.4 to 3.3.5. 1881 </action> 1882 <action issue="LOG4J2-1496" dev="ggregory" type="update"> 1883 Updated Kafka client from 0.9.1.0 to 0.10.0.0. 1884 </action> 1885 <action issue="LOG4J2-1533" dev="ggregory" type="update"> 1886 Updated Kafka client from 0.10.0.0 to 0.10.0.1. 1887 </action> 1888 <action issue="LOG4J2-1487" dev="ggregory" type="update"> 1889 Updated JMS test from ActiveMQ 5.13.3 to 5.13.4. 1890 </action> 1891 <action issue="LOG4J2-1551" dev="ggregory" type="update"> 1892 Updated JMS test from ActiveMQ 5.13.4 to 5.14.0. 1893 </action> 1894 <action issue="LOG4J2-1757" dev="ggregory" type="update"> 1895 Update Apache Commons Compress from 1.12 to 1.13. 1896 </action> 1897 <action issue="LOG4J2-1543" dev="ggregory" type="update"> 1898 Removed deprecated Core API org.apache.logging.log4j.core.util.Constants.UTF_8. 1899 </action> 1900 <action issue="LOG4J2-1544" dev="ggregory" type="update"> 1901 Removed deprecated Core API org.apache.logging.log4j.core.util.Assert.requireNonNull(T, String). 1902 </action> 1903 <action issue="LOG4J2-1545" dev="ggregory" type="update"> 1904 Removed deprecated Web API org.apache.logging.log4j.web.WebLookup.getServletContext(). 1905 </action> 1906 </release> 1907 <release version="2.6.2" date="2016-07-05" description="GA Release 2.6.2"> 1908 <action issue="LOG4J2-904" dev="rgoers" type="fix" due-to="Bernhard Mähr"> 1909 If copy and delete fails in rename action then resort to truncating the source file after copying it. 1910 </action> 1911 <action issue="LOG4J2-1250" dev="rgoers" type="fix"> 1912 CronTriggeringPolicy was not properly setting the prevFileTime value for the PatternProcessor so 1913 file dates and times on rolled files were incorrect. 1914 </action> 1915 <action issue="LOG4J2-1452" dev="rpopma" type="fix" due-to="Mikael Ståldal"> 1916 Fixed issue where reusable messages broke flow tracing logic. 1917 </action> 1918 <action issue="LOG4J2-1440" dev="rgoers" type="fix"> 1919 Fix bug in OnStartupTriggeringPolicy that allowed it to roll over on every reconfiguration. Added 1920 minSize attribute. 1921 </action> 1922 <action issue="LOG4J2-1414" dev="rpopma" type="fix" due-to="Ralph Goers"> 1923 Fixed minor issues with the 2.6.1 web site. 1924 </action> 1925 <action issue="LOG4J2-1434" dev="rpopma" type="fix" due-to="Luke Butters"> 1926 Ensure that the thread-local StringBuilders used by Layouts to format log events to text will not 1927 retain excessive memory after a large message was logged. 1928 </action> 1929 <action issue="LOG4J2-1395" dev="mikes" type="add"> 1930 Add "direct" option to ConsoleAppender for increased performance. 1931 </action> 1932 <action issue="LOG4J2-1418" dev="mikes" type="fix"> 1933 Provide MessageFactory2 to custom Logger implementations. 1934 </action> 1935 <action issue="LOG4J2-1420" dev="rgoers" type="fix"> 1936 RollingRandomAccessFileManager was not properly rolling over on startup and was getting a NullPointerException. 1937 </action> 1938 <action issue="LOG4J2-1417" dev="rpopma" type="fix"> 1939 Fixed issue where Unbox utility ignored the value Constants.ENABLE_THREADLOCALS and always stored non-JDK classes in ThreadLocals. 1940 </action> 1941 <action issue="LOG4J2-1422" dev="rpopma" type="fix"> 1942 Fixed issue where AsyncAppenderQueueFullPolicyTest sometimes hangs. 1943 </action> 1944 <action issue="LOG4J2-1445" dev="ggregory" type="fix" due-to="Ludovic HOCHET"> 1945 OnStartupTriggeringPolicyTest fails on Windows saying the file is used by another process. 1946 </action> 1947 <action issue="LOG4J2-1437" dev="rpopma" type="add"> 1948 (GC) ObjectMessage and ReusableObjectMessage now avoid calling toString() on auto-boxed primitive parameters. 1949 </action> 1950 <action issue="LOG4J2-1415" dev="rpopma" type="add"> 1951 (GC) ParameterFormatter now avoids calling toString() on auto-boxed primitive message parameters. 1952 </action> 1953 <action issue="LOG4J2-1412" dev="rpopma" type="add"> 1954 Unbox utility's ringbuffer of StringBuilders is now configurable. 1955 </action> 1956 <action issue="LOG4J2-1432" dev="ggregory" type="update"> 1957 Update Jackson from 2.7.4 to 2.7.5. 1958 </action> 1959 <action issue="LOG4J2-1433" dev="ggregory" type="update"> 1960 Update Jansi from 1.11 to 1.13. 1961 </action> 1962 <action issue="LOG4J2-1444" dev="ggregory" type="update"> 1963 Update Apache Commons Compress from 1.11 to 1.12. 1964 </action> 1965 </release> 1966 <release version="2.6.1" date="2016-06-05" description="GA Release 2.6.1"> 1967 <action issue="LOG4J2-1405" dev="rgoers" type="fix"> 1968 OnStartupTriggeringPolicy was forcing a rollover of empty files at startup and would append a second footer that was added by the prior shutdown. 1969 </action> 1970 <action issue="LOG4J2-1406" dev="rpopma" type="fix" due-to="Trask Stalnaker"> 1971 Fixed bug in ReusableParameterizedMessage where Throwable was never updated so first error was logged over and over again and subsequent errors were not logged. 1972 </action> 1973 <action issue="LOG4J2-1409" dev="rpopma" type="fix" due-to="Shahan"> 1974 Fixed ArrayIndexOutOfBoundsException that may occur in ReusableParameterizedMessage. 1975 </action> 1976 <action issue="LOG4J2-997" dev="rgoers" type="fix" due-to="Maytee Chinavanichkit"> 1977 Add filter and remove filter were not working properly in AbstractFilterable. 1978 </action> 1979 <action issue="LOG4J2-1032" dev="rgoers" type="fix"> 1980 Changed RenameAction to use java.nio to better report rename failures. 1981 </action> 1982 <action issue="LOG4J2-1407" dev="ggregory" type="fix"> 1983 Fixed misleading WARN log events from Log4j about message factories and unexpected formatting. 1984 </action> 1985 <action issue="LOG4J2-1408" dev="ggregory" type="fix"> 1986 Added the module log4j-liquibase to BOM POM. 1987 </action> 1988 <action issue="LOG4J2-1180" dev="ggregory" type="fix"> 1989 Logger cache now accounts for message factory. 1990 </action> 1991 <action issue="LOG4J2-1402" dev="rgoers" type="fix"> 1992 Fix regression in properties configuration to support arbitrary component ids. 1993 </action> 1994 <action issue="LOG4J2-1385" dev="ggregory" type="update"> 1995 (GC) CSV layouts should not create a new CSVPrinter for each log event. Requires Apache Commons CSV 1.4. 1996 </action> 1997 <action issue="LOG4J2-1398" dev="ggregory" type="update"> 1998 Update liquibase-core from 3.4.2 to 3.5.1. 1999 </action> 2000 <action issue="LOG4J2-1399" dev="ggregory" type="update"> 2001 Update Apache Commons CSV from 1.3 to 1.4. 2002 </action> 2003 <action issue="LOG4J2-1411" dev="mattsicker" type="add"> 2004 Added documentation about plugin builders compared to factories. 2005 </action> 2006 <action issue="LOG4J2-1394" dev="mattsicker,mikes" type="fix"> 2007 Fixed minor issues with the 2.6 web site. 2008 </action> 2009 </release> 2010 <release version="2.6" date="2016-05-25" description="GA Release 2.6"> 2011 <action issue="LOG4J2-1270" dev="rpopma" type="add"> 2012 (GC) Added support for garbage-free logging in steady state. 2013 This includes Async Loggers and logging synchronously to the console and to a file, 2014 but does not include the AsyncAppender. This release makes the GelfLayout and 2015 the main patterns in the PatternLayout garbage-free. 2016 </action> 2017 <action issue="LOG4J2-1297" dev="rpopma" type="add"> 2018 (GC) Added manual page on garbage-free logging. 2019 </action> 2020 <action issue="LOG4J2-1373" dev="rpopma" type="add"> 2021 (GC) Update Logger wrapper Generator tool to generate methods for the new Logger methods. 2022 </action> 2023 <action issue="LOG4J2-1356" dev="mikes" type="update"> 2024 (GC) GelfLayout does now support garbage-free logging (with compressionType=OFF). 2025 </action> 2026 <action issue="LOG4J2-1326" dev="rpopma" type="add"> 2027 (GC) Added methods to the Logger interface for logging CharSequence messages. 2028 </action> 2029 <action issue="LOG4J2-1344" dev="rpopma" type="add"> 2030 (GC) FileAppender, RollingFileAppender and MemoryMappedFileAppender are now also garbage-free by default. 2031 </action> 2032 <action issue="LOG4J2-1343" dev="rpopma" type="update"> 2033 (GC) ConsoleAppender is now garbage-free by default. This logic is reusable for all AbstractOutputStreamAppender subclasses. 2034 </action> 2035 <action issue="LOG4J2-1278" dev="rpopma" type="add"> 2036 (GC) Added unrolled varargs methods to Logger API, added Unbox utility to avoid auto-boxing when logging primitive values. 2037 </action> 2038 <action issue="LOG4J2-1318" dev="rpopma" type="update"> 2039 (GC) Avoid allocating unnecessary temporary objects in LoggerContext's getLogger methods. 2040 </action> 2041 <action issue="LOG4J2-1333" dev="rpopma" type="update"> 2042 (GC) Avoid allocating unnecessary temporary objects in MarkerManager's getMarker methods. 2043 </action> 2044 <action issue="LOG4J2-1321" dev="rpopma" type="update"> 2045 (GC) Avoid allocating unnecessary temporary objects in PatternLayout's NamePatternConverter and ClassNamePatternConverter. 2046 </action> 2047 <action issue="LOG4J2-1271" dev="rpopma" type="add"> 2048 (GC) Add MessageFactory that avoid allocation by reusing a cached ParameterizedMessage instance. 2049 </action> 2050 <action issue="LOG4J2-1271" dev="rpopma" type="update"> 2051 (GC) ParameterizedMessage optimizations to avoid or at least postpone allocating temporary objects. 2052 </action> 2053 <action issue="LOG4J2-1283" dev="rpopma" type="update"> 2054 (GC) Provide ThreadLocal-based gc-free caching mechanism in DatePatternConverter for non-webapps. 2055 </action> 2056 <action issue="LOG4J2-1293" dev="rpopma" type="add"> 2057 (GC) Add interface StringBuilderFormattable to enable converting Messages and parameters to text without allocating temporary objects. 2058 ParameterizedMessage, ObjectMessage, SimpleMessage and ThreadDumpMessage now implement StringBuilderFormattable. 2059 </action> 2060 <action issue="LOG4J2-1291" dev="rpopma" type="update"> 2061 (GC) Update PatternLayout to utilize gc-free mechanism for LogEvent processing. 2062 </action> 2063 <action issue="LOG4J2-1292" dev="rpopma" type="update"> 2064 (GC) Update RandomAccessFileAppender and RollingRandomAccessFileAppender to utilize gc-free Layout.encode() method. 2065 </action> 2066 <action issue="LOG4J2-1274" dev="rpopma" type="add"> 2067 (GC) Add encode(LogEvent, ByteBufferDestination) method to Layout API to enable converting LogEvents to bytes without creating temporary objects. 2068 </action> 2069 <action issue="LOG4J2-1281" dev="rpopma" type="fix"> 2070 (GC) LoggerConfig.getProperties() should not allocate on each call. 2071 </action> 2072 <action issue="LOG4J2-1272" dev="rpopma" type="update"> 2073 (GC) Improve LoggerConfig's data structure for AppenderControl objects to avoid allocating temporary objects during 2074 traversal for each log event. 2075 </action> 2076 <action issue="LOG4J2-1269" dev="rpopma" type="fix"> 2077 (GC) AsyncLogger should use thread-local translator by default. 2078 </action> 2079 <action issue="LOG4J2-623" dev="rpopma" type="fix"> 2080 Generate MDC properties as a JSON map in JSONLayout, with option to output as list of map entries. 2081 </action> 2082 <action issue="LOG4J2-1362" dev="rpopma" type="add" due-to="Gary Gregory"> 2083 Added a YAML layout. 2084 </action> 2085 <action issue="LOG4J2-1387" dev="rpopma" type="fix"> 2086 Fixed memory leak related to shutdown hook. 2087 </action> 2088 <action issue="LOG4J2-1179" dev="rpopma" type="add"> 2089 Documented benchmark results comparing Log4j 2 performance to other logging libraries. 2090 </action> 2091 <action issue="LOG4J2-1382" dev="rpopma" type="fix"> 2092 Copying a MutableLogEvent using Log4jLogEvent.Builder should not unnecessarily obtain caller location information. 2093 </action> 2094 <action issue="LOG4J2-1011" dev="mikes" type="add"> 2095 Document dependencies for layouts. 2096 </action> 2097 <action issue="LOG4J2-621" dev="ggregory" type="add" due-to="Lee Theobald, Kamal Mettananda, Gary Gregory"> 2098 Pattern to drop first N package parts. 2099 </action> 2100 <action issue="LOG4J2-494" dev="rgoers" type="add" due-to="Philipp Knobel"> 2101 Support merging configurations to for a composite configuration. 2102 </action> 2103 <action issue="LOG4J2-1357" dev="mikes" type="add"> 2104 Option to not log stack traces for logged Throwables in GelfLayout. 2105 </action> 2106 <action issue="LOG4J2-1375" dev="rpopma" type="update"> 2107 Update SLF4J from 1.7.13 to 1.7.21. 2108 </action> 2109 <action issue="LOG4J2-1374" dev="rpopma" type="update"> 2110 Migrate tests from Logback 1.1.3 to 1.1.7. 2111 </action> 2112 <action issue="LOG4J2-1384" dev="ggregory" type="update"> 2113 Update Apache Commons CSV from 1.2 to 1.3. 2114 </action> 2115 <action issue="LOG4J2-1372" dev="rgoers" type="fix" due-to="Kamal Mettananda, Gary Gregory"> 2116 XMLLayout indents, but not the first child tag (Event). 2117 </action> 2118 <action issue="LOG4J2-1363" dev="rgoers" type="fix"> 2119 Properties Configuration did not support includeLocation attribute on Loggers. 2120 </action> 2121 <action issue="LOG4J2-1263" dev="rgoers" type="fix"> 2122 The ConfigurationSource was not saved for BuiltConfigurations so monitor interval had no effect. 2123 </action> 2124 <action issue="LOG4J2-1369" dev="ggregory" type="fix" due-to="Alex Birch, Gary Gregory"> 2125 "xz" compression results in plaintext, uncompressed files. 2126 </action> 2127 <action issue="LOG4J2-1365" dev="mikes" type="update"> 2128 (Log4j-internal) Provide message text as CharSequence for some message types to optimize some layouts. 2129 </action> 2130 <action issue="LOG4J2-1368" dev="rpopma" type="fix"> 2131 (Log4j-internal) StatusLogger dropped exceptions when logging parameterized messages. 2132 </action> 2133 <action issue="LOG4J2-1348" dev="ggregory" type="add" due-to="Greg Thomas, Gary Gregory"> 2134 Add an AutoCloseable ThreadContext class: CloseableThreadContext. 2135 </action> 2136 <action issue="LOG4J2-1345" dev="rpopma" type="update"> 2137 (Doc) Clarify documentation for properties that control Log4j behaviour. 2138 </action> 2139 <action issue="LOG4J2-1336" dev="ggregory" type="fix" due-to="Zbynek Vyskovsky"> 2140 LoggerFactory in 1.2 API module is not compatible with 1.2. 2141 </action> 2142 <action issue="LOG4J2-1354" dev="ggregory" type="fix" due-to="Arkadiusz Adolph"> 2143 No configuration reload is triggered under Windows when replacing the configuration file with one that has older last modified date. 2144 </action> 2145 <action issue="LOG4J2-1346" type="fix"> 2146 Exception from Log4jServletContextListener prevents jetty-maven-plugin run-forked. 2147 </action> 2148 <action issue="LOG4J2-1339" dev="rpopma" type="fix"> 2149 (Perf) AsyncLogger performance optimization: avoid calling instanceof TimestampMessage in hot path. 2150 </action> 2151 <action issue="LOG4J2-1324" dev="rpopma" type="fix"> 2152 Improve error handling in the Async Logger background thread: the new default exception handler no longer rethrows the error. 2153 </action> 2154 <action issue="LOG4J2-1309" dev="ggregory" type="fix"> 2155 Configuration file error does not show cause exception. 2156 </action> 2157 <action issue="LOG4J2-1299" dev="ggregory" type="add"> 2158 Add pattern converter for thread id and priority in PatternLayout. 2159 </action> 2160 <action issue="LOG4J2-1289" dev="ggregory" type="fix"> 2161 Change flow logging text from "entry' to "Enter" and "exit" to "Exit". 2162 </action> 2163 <action issue="LOG4J2-1284" dev="rpopma" type="fix"> 2164 Made default MessageFactory configurable. 2165 </action> 2166 <action issue="LOG4J2-1280" dev="ggregory" type="fix"> 2167 Deprecate org.apache.logging.log4j.util.MessageSupplier. 2168 </action> 2169 <action issue="LOG4J2-1280" dev="rpopma" type="fix"> 2170 Logger methods taking Supplier parameters now correctly handle cases where the supplied value is a Message. 2171 </action> 2172 <action issue="LOG4J2-1268" dev="rpopma" type="fix"> 2173 FixedDateFormat was incorrect for formats having MMM with the French locale. 2174 </action> 2175 <action issue="LOG4J2-1255" dev="rgoers" type="update"> 2176 Add enhanced entry and exit methods. 2177 </action> 2178 <action issue="LOG4J2-124" dev="rgoers" type="add"> 2179 Add shutdown methods to LogManager. 2180 </action> 2181 <action issue="LOG4J2-1222" dev="rgoers" type="fix"> 2182 Creation of a LoggerContext will fail if shutdown is in progress. LogManager will default to SimpleLogger instead. 2183 </action> 2184 <action issue="LOG4J2-1221" dev="rpopma" type="add" due-to="Michael Barker"> 2185 Added async logger Timeout wait strategy and made this the default wait strategy for async loggers. 2186 This prevents a rare deadlock that may occur on Solaris. 2187 </action> 2188 <action issue="LOG4J2-1080" dev="rpopma" type="add"> 2189 Added option to discard events below a certain log level if the async logger ring buffer 2190 or async appender queue is full. 2191 </action> 2192 <action issue="LOG4J2-1237" dev="ggregory" type="add" due-to="Mike Calmus, Gary Gregory"> 2193 Make PatternLayout header and footer accept a pattern. 2194 </action> 2195 <action issue="LOG4J2-1244" dev="ggregory" type="add" due-to="Anshu Garg, Remko Popma, Gary Gregory"> 2196 Make header and footer values customizable in JSONLayout. 2197 </action> 2198 <action issue="LOG4J2-1245" dev="ggregory" type="add"> 2199 Make CSV Layout header and footers accept patterns. 2200 </action> 2201 <action issue="LOG4J2-1192" dev="ggregory" type="add" due-to="Jörg Bretschneider, Gary Gregory"> 2202 Dynamic Subject for SMTP Appender. 2203 </action> 2204 <action issue="LOG4J2-1277" dev="ggregory" type="add" due-to="Gary Gregory, Ludovic Hochet"> 2205 FormattedMessage, MessageFormatMessage and StringFormattedMessage should support passing in a Locale to ensure appropriate formatting. 2206 </action> 2207 <action issue="LOG4J2-1260" dev="ggregory" type="fix" due-to="Blake Day, Gary Gregory"> 2208 TlsSyslogFrame calculates message length incorrectly. 2209 </action> 2210 <action issue="LOG4J2-1258" dev="ggregory" type="fix" due-to="Francis Lalonde"> 2211 Async DynamicThresholdFilter does not use the log event's context map. 2212 </action> 2213 <action issue="LOG4J2-1232" dev="ggregory" type="fix" due-to="Nikolai"> 2214 Incorrect log rotation in last week of year. 2215 </action> 2216 <action issue="LOG4J2-1248" dev="rpopma" type="fix"> 2217 Fixed broken nanotime in pattern layout. 2218 </action> 2219 <action issue="LOG4J2-908" dev="ggregory" type="fix" due-to="Konstantinos Liakos, Patrick Flaherty, Robin Coe, Gary Gregory"> 2220 JSONLayout doesn't add a comma between log events. 2221 </action> 2222 <action issue="LOG4J2-1230" dev="ggregory" type="fix" due-to="Vladimir Hudec, Ralph Goers, Gary Gregory"> 2223 Don't concatenate SYSLOG Messages. 2224 </action> 2225 <action issue="LOG4J2-1238" dev="ggregory" type="fix"> 2226 org.apache.logging.log4j.core.net.TcpSocketManager and other classes does not report internal exceptions to the status logger. 2227 </action> 2228 <action issue="LOG4J2-1212" dev="rpopma" type="fix"> 2229 Fix documentation to specify the correct default wait strategy used by async loggers. 2230 </action> 2231 <action issue="LOG4J2-1215" dev="ggregory" type="fix" due-to="Erik Kemperman"> 2232 Documentation/XSD inconsistencies. 2233 </action> 2234 <action issue="LOG4J2-1276" dev="ggregory" type="fix" due-to="Ludovic Hochet"> 2235 LoggerMessageSupplierTest and LoggerSupplierTest are Locale sensitive. 2236 </action> 2237 <action issue="LOG4J2-1380" dev="ggregory" type="update"> 2238 Update Jackson from 2.7.3 to 2.7.4. 2239 </action> 2240 <action issue="LOG4J2-1304" dev="ggregory" type="update"> 2241 Update Jackson from 2.7.0 to 2.7.2. 2242 </action> 2243 <action issue="LOG4J2-1253" dev="ggregory" type="update"> 2244 Update LMAX Disruptor from 3.3.2 to 3.3.4. 2245 </action> 2246 <action issue="LOG4J2-1219" dev="ggregory" type="update"> 2247 Update SLF4J from 1.7.12 to 1.7.13. 2248 </action> 2249 <action issue="LOG4J2-1239" dev="ggregory" type="update"> 2250 Update Jackson from 2.6.3 to 2.6.4. 2251 </action> 2252 <action issue="LOG4J2-1249" dev="ggregory" type="update"> 2253 Update Jackson from 2.6.4 to 2.7.0. 2254 </action> 2255 <action issue="LOG4J2-1351" dev="ggregory" type="update"> 2256 Update Jackson from 2.7.2 to 2.7.3. 2257 </action> 2258 <action issue="LOG4J2-1240" dev="ggregory" type="update"> 2259 Update Liquibase from 3.3.5 to 3.4.2. 2260 </action> 2261 <action issue="LOG4J2-1294" dev="ggregory" type="update"> 2262 Update Kafka client from 0.9.0.0 to 0.9.0.1. 2263 </action> 2264 <action issue="LOG4J2-1352" dev="ggregory" type="update"> 2265 Update javax.mail from 1.5.4 to 1.5.5. 2266 </action> 2267 <action issue="LOG4J2-1358" dev="ggregory" type="update"> 2268 Update Apache Commons Compress from 1.10 to 1.11. 2269 </action> 2270 <action issue="LOG4J2-1388" dev="rpopma" type="update"> 2271 Update Google java-allocation-instrumenter from 3.0 to 3.0.1. 2272 </action> 2273 <action issue="LOG4J2-1233" dev="ggregory" type="update" due-to="Bahri Gencsoy"> 2274 Misleading Value In Properties Example. 2275 </action> 2276 <action issue="LOG4J2-1251" dev="mattsicker" type="fix" due-to="Romain Manni-Bucau"> 2277 Fix JUL bridge issue where LogRecord.getParameters() is used when null. 2278 </action> 2279 <action issue="LOG4J2-1254" dev="rpopma" type="fix" due-to="Josh Trow"> 2280 Fix typo in Flow Tracing documentation. 2281 </action> 2282 <action issue="LOG4J2-920" dev="mattsicker" type="fix" due-to="Ludovic Hochet"> 2283 ClassNotFoundException for BundleContextSelector when initialising in an OSGi environment. 2284 </action> 2285 <action issue="LOG4J2-1300" dev="mattsicker" type="update"> 2286 Remove serializability from classes that don't need it. 2287 </action> 2288 <action issue="LOG4J2-1303" dev="mattsicker" type="add"> 2289 Add documentation links to runtime dependencies in each component intro page. 2290 </action> 2291 <action issue="LOG4J2-1275" dev="mattsicker" type="fix" due-to="Ludovic Hochet"> 2292 Fix RollingAppenderNoUnconditionalDeleteTest repeat test runs from failing. 2293 </action> 2294 <action issue="LOG4J2-1262" dev="mattsicker" type="fix"> 2295 Stop throwing unnecessary exception in Log4jServletContextListener.contextDestroyed(). 2296 </action> 2297 <action issue="LOG4J2-1252" dev="mattsicker" type="add"> 2298 JeroMqAppender should support layouts. 2299 </action> 2300 <action issue="LOG4J2-1227" dev="mattsicker" type="fix" due-to="Olivier Lemasle"> 2301 NullPointerException in MapLookup.lookup if the event is null. 2302 </action> 2303 <action issue="LOG4J2-1306" dev="mattsicker" type="update"> 2304 JeroMqAppender should use ShutdownCallbackRegistry instead of runtime hooks. 2305 </action> 2306 <action issue="LOG4J2-1217" dev="mattsicker" type="add" due-to="Thies Wellpott"> 2307 PatternLayout option to limit length of text. 2308 </action> 2309 <action issue="LOG4J2-1308" dev="mattsicker" type="update"> 2310 Remove need to pre-specify appender et al. identifiers in property file config format. 2311 </action> 2312 <action issue="LOG4J2-1050" dev="mattsicker" type="fix" due-to="Adam Retter"> 2313 Add a Log4jLookup class to help write log files relative to log4j2.xml. 2314 </action> 2315 <action issue="LOG4J2-1133" dev="mattsicker" type="add"> 2316 Add JNDI lookup documentation. 2317 </action> 2318 <action issue="LOG4J2-1310" dev="mattsicker" type="fix"> 2319 JndiLookup mindlessly casts to String and should use String.valueOf(). 2320 </action> 2321 <action issue="LOG4J2-1206" dev="mattsicker" type="update"> 2322 org.apache.logging.log4j.core.LoggerContext#updateLoggers should call firePropertyChangeEvent. 2323 </action> 2324 <action issue="LOG4J2-248" dev="mattsicker" type="fix"> 2325 Log4jWebInitializerImpl: Use Thread instead of Class for fallback classloader. 2326 </action> 2327 <action issue="LOG4J2-1169" dev="mattsicker" type="add" due-to="Gerald Kritzinger"> 2328 PatternLayout: Possible variable substitution in equals substitution parameter. 2329 </action> 2330 <action issue="LOG4J2-1322" dev="mattsicker" type="update"> 2331 Update Log4j 1.x migration guide to include information about system property lookup syntax changes. 2332 </action> 2333 <action issue="LOG4J2-1330" dev="mattsicker" type="fix"> 2334 Fix NoClassDefFoundError in ReflectionUtil on Google App Engine. 2335 </action> 2336 </release> 2337 <release version="2.5" date="2015-12-06" description="GA Release 2.5"> 2338 <action issue="LOG4J2-324" dev="rpopma" type="fix"> 2339 Reduced memory usage of status messages in bounded queue; support zero-length queue that stores no messages. 2340 </action> 2341 <action issue="LOG4J2-1173" dev="rpopma" type="fix"> 2342 Fixed rollover error when copying to a directory mapped to a remote Linux host. 2343 </action> 2344 <action issue="LOG4J2-435" dev="rpopma" type="add" due-to="Robert Schaft"> 2345 Added support for custom delete actions triggered by a rollover. 2346 </action> 2347 <action issue="LOG4J2-649" dev="rgoers" type="update" due-to="Aleksey Zvolinsky"> 2348 Add PurgePolicy and IdlePurgePolicy to RoutingAppender. 2349 </action> 2350 <action issue="LOG4J2-1202" dev="rgoers" type="update"> 2351 Remove ConfigurationMonitor. The WatchManager is now used to check for configuration changes. 2352 </action> 2353 <action issue="LOG4J2-1195" dev="mikes" type="fix" due-to="Melvin Du"> 2354 Make KafkaAppender support SerializedLayout. 2355 </action> 2356 <action issue="LOG4J2-89" dev="rgoers" type="add"> 2357 Allow rollover to occur at any time. Add CronTriggeringPolicy. 2358 </action> 2359 <action issue="LOG4J2-381" dev="rgoers" type="fix" due-to="Anthony Baldocchi"> 2360 Allow triggering policy and rollover strategy to be modified during reconfiguration. 2361 </action> 2362 <action issue="LOG4J2-1136" dev="rgoers" type="add"> 2363 Add support for JSR 223 scripts in filters and the PatternSelector. 2364 </action> 2365 <action issue="LOG4J2-1168" dev="ggregory" type="add" due-to="Steven Swor"> 2366 Add getters for source and destination file in file rename action. 2367 </action> 2368 <action issue="LOG4J2-1175" dev="ggregory" type="add"> 2369 Add getters for classes in org.apache.logging.log4j.core.appender.rolling.action. 2370 </action> 2371 <action issue="LOG4J2-898" dev="rpopma" type="add"> 2372 Added system property to allow users to control whether messages should be formatted in the background. 2373 </action> 2374 <action issue="LOG4J2-1178" dev="ggregory" type="add"> 2375 Support use-case for JDBC's CommonDataSource.setLogWriter(PrintWriter) and java.sql.DriverManager.setLogWriter(PrintWriter). 2376 </action> 2377 <action issue="LOG4J2-1187" dev="ggregory" type="add"> 2378 Support use case for java.sql.DriverManager.setLogStream(PrintStream). 2379 </action> 2380 <action issue="LOG4J2-1029" dev="rpopma" type="fix" due-to="Stefan Leonhartsberger"> 2381 Performance improvement when gathering location information. 2382 </action> 2383 <action issue="LOG4J2-1172" dev="rpopma" type="fix"> 2384 Fixed ThreadLocal leak [AsyncLogger$Info] on Tomcat when using AsyncLoggerContextSelector. 2385 </action> 2386 <action issue="LOG4J2-1176" dev="rpopma" type="fix"> 2387 Fixed memory leak when log4j jars are in Tomcat's lib folder. 2388 </action> 2389 <action issue="LOG4J2-1180" dev="ggregory" type="fix" due-to="Mikael Ståldal"> 2390 Logger cache does not account for message factory. 2391 </action> 2392 <action issue="LOG4J2-879" dev="rpopma" type="fix"> 2393 Documentation: fixed minor issues with the site and manual pages. 2394 </action> 2395 <action issue="LOG4J2-999" dev="rpopma" type="fix" due-to="Joan Balagueró"> 2396 RollingFileAppender should also roll over when log event time is equal to rollover time, not only when later. 2397 </action> 2398 <action issue="LOG4J2-873" dev="rpopma" type="fix" due-to="Martin Dickins, LC, Luke Woodward"> 2399 Fixed bug where omitting the <display-name> element in web.xml caused incorrect log4j initialization, 2400 resulting in memory leaks when the web application was stopped or reloaded. 2401 </action> 2402 <action issue="LOG4J2-323" dev="rpopma" type="fix"> 2403 Better web app support for async loggers: Fixed a memory leak that occurred when the logging jars are placed 2404 in the container's classpath and the configuration file uses AsyncRoot/AsyncLogger. 2405 The problem was that the first web application started the Disruptor background thread [AsyncLoggerConfig-1] but did not stop it until all web apps are stopped. 2406 Each web application now has its own Disruptor which is stopped/started together with the web app. 2407 </action> 2408 <action issue="LOG4J2-493" dev="rpopma" type="fix"> 2409 Better web app support for async loggers: it is now possible to place the logging jars in the container's 2410 classpath when making all loggers asynchronous by using AsyncLoggerContextSelector. This fixes a problem where 2411 logging would stop working after stopping and restarting a web application. 2412 </action> 2413 <action issue="LOG4J2-1171" dev="rpopma" type="fix"> 2414 Use servlet context name for logger context name when available. 2415 </action> 2416 <action issue="LOG4J2-1159" dev="rpopma" type="fix"> 2417 Fixed a ThreadLocal memory leak in Tomcat8 that mentions AsyncLoggers when Async Loggers are not used. 2418 </action> 2419 <action issue="LOG4J2-1166" dev="rpopma" type="fix"> 2420 AbstractConfiguration executor should use a DaemonThreadFactory. 2421 </action> 2422 <action issue="LOG4J2-1165" dev="rpopma" type="fix"> 2423 Improve Log4j initialization status messages. 2424 </action> 2425 <action issue="LOG4J2-1156" dev="rpopma" type="fix"> 2426 Web site corrections and updates. 2427 </action> 2428 <action issue="LOG4J2-1158" dev="ggregory" type="fix" due-to="Michael Fortin, Gary Gregory"> 2429 Log4J JUL adapter is using MessageFormat on String passed by java.util.function.Supplier<String>. 2430 </action> 2431 <action issue="LOG4J2-801" dev="mattsicker" type="fix"> 2432 org.apache.logging.log4j.core.Logger should be serializable. 2433 </action> 2434 <action issue="LOG4J2-1157" dev="mattsicker" type="fix" due-to="Norbert Bartels"> 2435 Fix compilation error for classes annotated with @Plugin. 2436 </action> 2437 <action issue="LOG4J2-948" dev="mattsicker" type="fix" due-to="Andrew Flower"> 2438 Fix plugin documentation error about Converters. 2439 </action> 2440 <action issue="LOG4J2-1193" dev="ggregory" type="fix"> 2441 Prefix all thread names Log4j creates with "Log4j2-". 2442 </action> 2443 <action issue="LOG4J2-1194" dev="ggregory" type="fix" due-to="Adam Brin"> 2444 Documentation does not match parameters for LoggerNameLevelRewritePolicy. 2445 </action> 2446 <action issue="LOG4J2-1196" dev="mattsicker" type="fix" due-to="René Zanner"> 2447 MongoDbConnection does not close MongoClient. 2448 </action> 2449 <action issue="LOG4J2-1174" dev="ggregory" type="update"> 2450 Update Jackson from 2.6.2 to 2.6.3. 2451 </action> 2452 <action issue="LOG4J2-1207" dev="ggregory" type="update"> 2453 Update kafka-clients from 0.8.2.2 to 0.9.0.0. 2454 </action> 2455 </release> 2456 <release version="2.4.1" date="2015-10-08" description="GA Release 2.4.1"> 2457 <action issue="LOG4J2-1129" dev="rgoers" type="add"> 2458 Allow PatternLayout to select a pattern to use based on some selection criteria. 2459 </action> 2460 <action issue="LOG4J2-1145" dev="ggregory" type="add"> 2461 Add %equals to PatternLayout to test and replace patterns with strings. 2462 </action> 2463 <action issue="LOG4J2-1147" dev="ggregory" type="add"> 2464 Add %equalsIgnoreCase to PatternLayout to test and replace patterns with strings. 2465 </action> 2466 <action issue="LOG4J2-1146" dev="ggregory" type="add"> 2467 Add %notEmpty to PatternLayout to avoid output of patterns where all variables are empty. 2468 </action> 2469 <action issue="LOG4J2-1020" dev="mikes" type="add"> 2470 Add possibility to set shutdown timeout on AsyncAppender. 2471 </action> 2472 <action issue="LOG4J2-1153" dev="rpopma" type="fix"> 2473 Fixed NullPointerException when only root logger is defined (and no named loggers) in configuration properties file. 2474 </action> 2475 <action issue="LOG4J2-1140" dev="rpopma" type="fix"> 2476 Fixed bug where headers were not being written to first file with RollingFileAppender. 2477 </action> 2478 <action issue="LOG4J2-1149" dev="rpopma" type="fix"> 2479 Fixed bug where PatternLayout predefined date pattern with time zone always renders default date format. 2480 </action> 2481 <action issue="LOG4J2-1050" dev="rpopma" type="fix"> 2482 Fixed Log4jLookup. 2483 </action> 2484 <action issue="LOG4J2-1142" dev="rpopma" type="fix"> 2485 Fix potential memory leak in web applications by using a straight ThreadLocal field instead of subclassing ThreadLocal. 2486 </action> 2487 <action issue="LOG4J2-1135" dev="rpopma" type="fix"> 2488 Compression on rollover was broken: log file was renamed to .zip but not compressed. 2489 </action> 2490 <action issue="LOG4J2-1127" dev="ggregory" type="fix"> 2491 log4j2.xml cannot be parsed on Oracle Weblogic 12c. 2492 </action> 2493 <action issue="LOG4J2-1132" dev="ggregory" type="fix"> 2494 Do not use MongoDB driver 2.13.3 deprecated methods. 2495 </action> 2496 <action issue="LOG4J2-1144" dev="ggregory" type="fix"> 2497 Add %markerSimpleName in pattern layout should evaluate to marker name (not toString()). 2498 </action> 2499 <action issue="LOG4J2-1126" dev="ggregory" type="fix"> 2500 Web site corrections and updates. 2501 </action> 2502 <action issue="LOG4J2-1151" dev="rpopma" type="update"> 2503 Performance improvement: backport Java 8 fast ISO-8859-1 String to byte[] encoder to AbstractStringLayout. 2504 </action> 2505 <action issue="LOG4J2-935" dev="rpopma" type="update"> 2506 Performance improvement when converting Strings to byte[] arrays. 2507 </action> 2508 <action issue="LOG4J2-1040" dev="ggregory" type="update"> 2509 Update MongoDB driver from 2.13.3 to 3.0.4. 2510 </action> 2511 <action issue="LOG4J2-1128" dev="ggregory" type="update"> 2512 Reuse StringBuilder to improve performance for String-based layouts: CSV, GELF, HTML, RFC524, Syslog. 2513 </action> 2514 <action issue="LOG4J2-1131" dev="ggregory" type="update"> 2515 Update mongo-java-driver from 2.13.2 to 2.13.3. 2516 </action> 2517 <action issue="LOG4J2-1138" dev="ggregory" type="update"> 2518 Do not use Jackson deprecated methods. 2519 </action> 2520 <action issue="LOG4J2-1139" dev="ggregory" type="update"> 2521 Update Jackson from 2.6.1 to 2.6.2. 2522 </action> 2523 <action issue="LOG4J2-1150" dev="ggregory" type="update"> 2524 Update kafka-clients from 0.8.2.1 to 0.8.2.2. 2525 </action> 2526 </release> 2527 <release version="2.4" date="2015-09-20" description="GA Release 2.4"> 2528 <action issue="LOG4J2-635" dev="rgoers" type="add"> 2529 Add support for configuration via Properties. 2530 </action> 2531 <action issue="LOG4J2-952" dev="rgoers" type="add"> 2532 Add ConfigurationBuilder for programmatic configuration. 2533 </action> 2534 <action issue="LOG4J2-1017" dev="ggregory" type="update"> 2535 Update Java platform from Java 6 to 7. From this version onwards, log4j 2 requires Java 7. 2536 </action> 2537 <action issue="LOG4J2-599" dev="rpopma" type="add"> 2538 Added support for Java 8 lambda expressions to lazily construct a log message only if 2539 the requested log level is enabled. 2540 </action> 2541 <action issue="LOG4J2-1118" dev="rpopma" type="add"> 2542 Updated Logger wrapper generator tool to add Java 8 lambda support for custom log levels. 2543 </action> 2544 <action issue="LOG4J2-1107" dev="ggregory" type="add" due-to="Mikael Ståldal"> 2545 New Appender for Apache Kafka. 2546 </action> 2547 <action issue="LOG4J2-1113" dev="ggregory" type="add" due-to="Gary Gregory"> 2548 New publisher Appender for ZeroMQ (using JeroMQ). 2549 </action> 2550 <action issue="LOG4J2-1088" dev="ggregory" type="add" due-to="Gary Gregory"> 2551 Add Comma Separated Value (CSV) layouts for parameter and event logging. 2552 </action> 2553 <action issue="LOG4J2-812" dev="rgoers" type="update"> 2554 PatternLayout timestamp formatting performance improvement: replaced synchronized SimpleDateFormat with 2555 Apache Commons FastDateFormat. This and better caching resulted in a ~3-30X faster timestamp formatting. 2556 </action> 2557 <action issue="LOG4J2-1097" dev="rpopma" type="update"> 2558 PatternLayout timestamp formatting performance improvement: predefined date formats (and variants using 2559 a period '.' millisecond separator instead of ',') are now formatted ~2-10X faster than other date formats. 2560 </action> 2561 <action issue="LOG4J2-1096" dev="rpopma" type="update"> 2562 Improved performance of ParameterizedMessage::getFormattedMessage by ~2X. 2563 </action> 2564 <action issue="LOG4J2-1120" dev="rpopma" type="update"> 2565 LoggerConfig performance improvements: avoid unnecessary lock acquisition, use more efficient data structure. 2566 </action> 2567 <action issue="LOG4J2-1125" dev="rpopma" type="update"> 2568 PatternLayout performance improvement by caching and reusing a ThreadLocal StringBuilder. 2569 </action> 2570 <action issue="LOG4J2-1121" dev="rpopma" type="fix"> 2571 Fixed potential race condition on reconfiguration. Introduced ReliabilityStrategy to facilitate 2572 switching between different mechanisms for preventing log events from being dropped on reconfiguration. 2573 </action> 2574 <action issue="LOG4J2-1114" dev="ggregory" type="update"> 2575 Add thread name to status logger layout. 2576 </action> 2577 <action issue="LOG4J2-1123" dev="ggregory" type="fix"> 2578 Core Configurator.initialize(String, ClassLoader, String) fails to work when config location is a file path. 2579 </action> 2580 <action issue="LOG4J2-1117" dev="ggregory" type="fix" due-to="Marcus Thiesen"> 2581 OutputStreamManager in ConsoleAppender leaking managers. 2582 </action> 2583 <action issue="LOG4J2-1044" dev="rgoers" type="fix"> 2584 Write pending events to Flume when the appender is stopped. 2585 </action> 2586 <action issue="LOG4J2-1108" dev="ggregory" type="fix" due-to="Mikael Ståldal"> 2587 NullPointerException when passing null to java.util.logging.Logger.setLevel(). 2588 </action> 2589 <action issue="LOG4J2-1110" dev="ggregory" type="fix"> 2590 org.apache.logging.log4j.jul.CoreLogger.setLevel() checks for security permission too late. 2591 </action> 2592 <action dev="rpopma" type="remove"> 2593 Removed experimental interface LevelLogger which got committed to master by mistake. 2594 </action> 2595 <action issue="LOG4J2-1010" dev="rgoers" type="update"> 2596 Pass log event when interpolating logger properties. 2597 </action> 2598 <action issue="LOG4J2-1090" dev="ggregory" type="add"> 2599 Add Core Configurator APIs to change a logger's level. 2600 </action> 2601 <action issue="LOG4J2-1105" dev="ggregory" type="add" due-to="Gary Gregory"> 2602 Add API org.apache.logging.log4j.Level.isInRange(Level, Level). 2603 </action> 2604 <action issue="LOG4J2-1106" dev="ggregory" type="add" due-to="Gary Gregory"> 2605 Add a LevelRangeFilter class. 2606 </action> 2607 <action issue="LOG4J2-1074" dev="rpopma" type="add"> 2608 Added support for system nanosecond time in pattern layout. 2609 </action> 2610 <action issue="LOG4J2-1075" dev="rpopma" type="add"> 2611 Added support for compressing to bzip2 format on file rollover. 2612 </action> 2613 <action issue="LOG4J2-1077" dev="ggregory" type="add"> 2614 Support additional Apache Commons Compress compression formats on rollover: Deflate, Pack200, XY. 2615 </action> 2616 <action issue="LOG4J2-767" dev="ggregory" type="add" due-to="Mikael Ståldal"> 2617 New module for Liquibase integration. 2618 </action> 2619 <action issue="LOG4J2-1023" dev="ggregory" type="add" due-to="Mikael Ståldal"> 2620 New RewritePolicy for changing level of a log event. 2621 </action> 2622 <action issue="LOG4J2-1015" dev="ggregory" type="add" due-to="Daniel Marcotte"> 2623 Add a way to route messages based on the %marker in Layout for RoutingAppender. 2624 </action> 2625 <action issue="LOG4J2-1050" dev="ggregory" type="add" due-to="Adam Retter"> 2626 Add a Log4jLookup class to help write log files relative to log4j2.xml. 2627 </action> 2628 <action issue="LOG4J2-1057" dev="ggregory" type="add"> 2629 Add API org.apache.logging.log4j.LogManager.getFormatterLogger(). 2630 </action> 2631 <action issue="LOG4J2-1066" dev="ggregory" type="add" due-to="Charles Allen"> 2632 Expose Log4jContextFactory's ShutdownCallbackRegistry. 2633 </action> 2634 <action issue="LOG4J2-1084" dev="ggregory" type="fix" due-to="Philipp Schneider"> 2635 Misleading StatusLogger WARN event in LogManager with java.util.Map. 2636 </action> 2637 <action issue="LOG4J2-1051" dev="ggregory" type="fix" due-to="Lukasz Lenart"> 2638 NoClassDefFoundError when starting app on Google App Engine. 2639 </action> 2640 <action issue="LOG4J2-684" dev="ggregory" type="fix" due-to="Joern Huxhorn, Mauro Molinari"> 2641 ExtendedThrowablePatternConverter does not print suppressed exceptions. 2642 </action> 2643 <action issue="LOG4J2-1069" dev="ggregory" type="fix" due-to="Sam Braam"> 2644 Improper handling of JSON escape chars when deserializing JSON log events. 2645 </action> 2646 <action issue="LOG4J2-1068" dev="ggregory" type="fix" due-to="Andy McMullan"> 2647 Exceptions not logged when using TcpSocketServer + SerializedLayout. 2648 </action> 2649 <action issue="LOG4J2-1067" dev="ggregory" type="fix" due-to="Sam Braam"> 2650 ThrowableProxy getExtendedStackTraceAsString throws NPE on deserialized nested exceptions. 2651 </action> 2652 <action issue="LOG4J2-1049" dev="rpopma" type="fix" due-to="Robert Schaft"> 2653 AsyncAppender now resets the thread interrupted flag after catching InterruptedException. 2654 </action> 2655 <action issue="LOG4J2-1048" dev="rpopma" type="fix" due-to="Nikhil"> 2656 FileConfigurationMonitor unnecessarily calls System.currentTimeMillis() causing high CPU usage. 2657 </action> 2658 <action issue="LOG4J2-1037" dev="ggregory" type="fix" due-to="Marc Dergacz"> 2659 Backward compatibility issue in log4j-1.2-api NDC pop() and peek(). 2660 </action> 2661 <action issue="LOG4J2-1025" dev="ggregory" type="fix" due-to="Mikael Ståldal"> 2662 Custom java.util.logging.Level gives null Log4j Level and causes NPE. 2663 </action> 2664 <action issue="LOG4J2-1033" dev="ggregory" type="fix" due-to="Mikael Ståldal"> 2665 SimpleLogger creates unnecessary Map objects by calling ThreadContext.getContext() instead of getImmutableContext(). 2666 </action> 2667 <action issue="LOG4J2-1026" dev="ggregory" type="fix"> 2668 HighlightConverter does not obey noConsoleNoAnsi. 2669 </action> 2670 <action issue="LOG4J2-1019" dev="ggregory" type="fix"> 2671 ZipCompressAction leaves files open until GC when an IO error takes place. 2672 </action> 2673 <action issue="LOG4J2-1020" dev="ggregory" type="fix"> 2674 GzCompressAction leaves files open until GC when an IO error takes place. 2675 </action> 2676 <action issue="LOG4J2-1038" dev="ggregory" type="fix" due-to="Gili"> 2677 Incorrect documentation for layout default charset. 2678 </action> 2679 <action issue="LOG4J2-1042" dev="ggregory" type="fix" due-to="Guillaume Turri"> 2680 Socket and Syslog appenders don't take timeout into account at startup. 2681 </action> 2682 <action issue="LOG4J2-934" dev="ggregory" type="fix" due-to="Kenneth Gendron"> 2683 Circular suppressed Exception throws StackOverflowError. 2684 </action> 2685 <action issue="LOG4J2-1046" dev="ggregory" type="fix" due-to="Kenneth Gendron"> 2686 Circular Exception cause throws StackOverflowError. 2687 </action> 2688 <action issue="LOG4J2-982" dev="ggregory" type="fix" due-to="Mikhail Mazurskiy"> 2689 Use System.nanoTime() to measure time intervals. 2690 </action> 2691 <action issue="LOG4J2-1045" dev="ggregory" type="fix" due-to="Günter Albrecht"> 2692 Externalize log4j2.xml via URL resource. 2693 </action> 2694 <action issue="LOG4J2-1058" dev="ggregory" type="fix" due-to="Daniel Branzea"> 2695 Log4jMarker#contains(String) does not respect org.slf4j.Marker contract. 2696 </action> 2697 <action issue="LOG4J2-1060" dev="ggregory" type="fix"> 2698 Log4jMarker#contains(Marker) does not respect org.slf4j.Marker contract. 2699 </action> 2700 <action issue="LOG4J2-1061" dev="ggregory" type="fix"> 2701 Log4jMarker#remove(Marker) does not respect org.slf4j.Marker contract. 2702 </action> 2703 <action issue="LOG4J2-1062" dev="ggregory" type="fix"> 2704 Log4jMarker#add(Marker) does not respect org.slf4j.Marker contract. 2705 </action> 2706 <action issue="LOG4J2-1064" dev="ggregory" type="fix"> 2707 org.apache.logging.slf4j.Log4jMarker does not implement org.slf4j.Marker.equals(Object) org.slf4j.Marker.hashCode(). 2708 </action> 2709 <action issue="LOG4J2-889" dev="rpopma" type="fix" due-to="Maciej Karaś, Kenneth Leider"> 2710 Header in layout should not be written on application startup if appending to an existing file. Fixes LOG4J2-1030. 2711 </action> 2712 <action issue="LOG4J2-918" dev="rpopma" type="fix"> 2713 Clarify documentation for combining async with sync loggers. 2714 </action> 2715 <action issue="LOG4J2-1078" dev="ggregory" type="fix" due-to="Mikael Ståldal"> 2716 GelfLayout throws exception if some log event fields are null. 2717 </action> 2718 <action issue="LOG4J2-1044" dev="rgoers" type="update"> 2719 Support batchSize in FlumeAvroManager. 2720 </action> 2721 <action issue="LOG4J2-1065" dev="ggregory" type="update"> 2722 Define org.apache.logging.log4j.Marker.equals(Object) and org.apache.logging.log4j.Marker.hashCode(). 2723 </action> 2724 <action issue="LOG4J2-1063" dev="ggregory" type="update"> 2725 Avoid creating temporary array object in org.apache.logging.slf4j.Log4jMarker.iterator(). 2726 </action> 2727 <action issue="LOG4J2-890" dev="ggregory" type="update" due-to="Hassan Kalaldeh, Robert Andersson, Remko Popma"> 2728 log4j-web-2.1 should workaround a bug in JBOSS EAP 6.2. 2729 </action> 2730 <action issue="LOG4J2-403" dev="ggregory" type="update" due-to="Poorna Subhash P, Jeremy Lautman"> 2731 MongoDB appender, username and password should be optional. 2732 </action> 2733 <action issue="LOG4J2-1035" dev="ggregory" type="update"> 2734 Log4j2 tries to SystemClassLoader when running on Google AppEngine. 2735 </action> 2736 <action issue="LOG4J2-1022" dev="rgoers" type="update"> 2737 Allow a list of keys to be specified in the MDC pattern converter. 2738 </action> 2739 <action issue="LOG4J2-959" dev="ggregory" type="update"> 2740 Fix FindBugs DM_DEFAULT_ENCODING bug in SimpleLogger.logMessage() and simplify code. 2741 </action> 2742 <action issue="LOG4J2-1036" dev="ggregory" type="update"> 2743 Update Apache Flume from 1.5.2 to 1.6.0. 2744 </action> 2745 <action issue="LOG4J2-1041" dev="ggregory" type="update"> 2746 Update MongoDB driver from 2.11.2 to 2.13.2. 2747 </action> 2748 <action issue="LOG4J2-1018" dev="ggregory" type="update"> 2749 Update database tests from H2 1.3.175 to 1.3.176. 2750 </action> 2751 <action issue="LOG4J2-1070" dev="ggregory" type="update"> 2752 Update Java Mail from 1.5.2 to 1.5.4. 2753 </action> 2754 <action issue="LOG4J2-1079" dev="ggregory" type="update"> 2755 Update Jackson from 2.5.3 to 2.5.4. 2756 </action> 2757 <action issue="LOG4J2-1879" dev="ggregory" type="update"> 2758 Update Jackson from 2.5.4 to 2.6.0. 2759 </action> 2760 <action issue="LOG4J2-1092" dev="ggregory" type="update"> 2761 Update Jackson from 2.6.0 to 2.6.1. 2762 </action> 2763 <action issue="LOG4J2-1104" dev="ggregory" type="update"> 2764 Update Apache Commons Compress from 1.9 to 1.10. 2765 </action> 2766 </release> 2767 <release version="2.3" date="2015-05-09" description="GA Release 2.3"> 2768 <action issue="LOG4J2-1009" dev="ggregory" type="fix" due-to="Mikael Ståldal"> 2769 Incorrectly defined compressionType parameter to GelfLayout. 2770 </action> 2771 <action issue="LOG4J2-1008" dev="ggregory" type="fix" due-to="Ralph Goers, Gary Gregory"> 2772 org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.extractPath(URL) incorrectly converts '+' characters to spaces. 2773 </action> 2774 <action issue="LOG4J2-1007" dev="ggregory" type="fix" due-to="Ralph Goers, Gary Gregory"> 2775 org.apache.logging.log4j.core.util#fileFromUri(URI uri) incorrectly converts '+' characters to spaces. 2776 </action> 2777 <action issue="LOG4J2-1003" dev="ggregory" type="fix" due-to="Dan Armbrust"> 2778 JUL Logger.throwing is mis-mapped to ERROR when it should be TRACE. 2779 </action> 2780 <action issue="LOG4J2-965" dev="ggregory" type="fix" due-to="Khotyn Huang"> 2781 System.out no longer works after the Console appender and JANSI are initialized. 2782 </action> 2783 <action issue="LOG4J2-998" dev="ggregory" type="update" due-to="Mariano Gonzalez"> 2784 Make org.apache.logging.log4j.core.Logger#updateConfiguration protected. 2785 </action> 2786 <action issue="LOG4J2-995" dev="rgoers" type="update"> 2787 Move UTF-8 constant from Charsets to Constants class. Remove Charsets class. 2788 </action> 2789 <action issue="LOG4J2-993" dev="rgoers" type="fix"> 2790 Deadlock would occur if appender thread creates a new Logger during reconfiguration. 2791 </action> 2792 <action issue="LOG4J2-991" dev="rpopma" type="fix" due-to="Ryan Rupp"> 2793 Async root logger config should default includeLocation to false. 2794 </action> 2795 <action issue="LOG4J2-985" dev="rpopma" type="fix" due-to="Sean Dawson"> 2796 AbstractFilter should not implement equals() and hashCode(). 2797 </action> 2798 <action issue="LOG4J2-984" dev="ggregory" type="add" due-to="Jonas Höpfner"> 2799 PatternLayout %highlight to support noConsoleNoAnsi like %style. 2800 </action> 2801 <action issue="LOG4J2-926" dev="ggregory" type="add" due-to="David Ohana"> 2802 Truncate from the end of text format modifier. 2803 </action> 2804 <action issue="LOG4J2-980" dev="ggregory" type="fix" due-to="Mikhail Mazurskiy"> 2805 Numerical overflow in BurstFilter not handled correctly. 2806 </action> 2807 <action issue="LOG4J2-981" dev="ggregory" type="fix" due-to="Mikhail Mazurskiy"> 2808 Incorrect unlock in ProviderUtil. 2809 </action> 2810 <action issue="LOG4J2-966" dev="ggregory" type="fix"> 2811 KeyStoreConfiguration.createKeyStoreConfiguration() ignores keyManagerFactoryAlgorithm. 2812 </action> 2813 <action issue="LOG4J2-976" dev="ggregory" type="fix" due-to="Matt Quinn"> 2814 Using monitorInterval with YAML config file format causes JSONParseException. 2815 </action> 2816 <action issue="LOG4J2-964" dev="ggregory" type="fix" due-to="Jonne Jyrylä"> 2817 StringFormattedMessage serialization is incorrect. 2818 </action> 2819 <action issue="LOG4J2-947" dev="ggregory" type="fix" due-to="Stefan Wehner"> 2820 A new StatusLoggerAdmin listener is added to StatusLogger every time the log is reconfigured. 2821 </action> 2822 <action issue="LOG4J2-968" dev="ggregory" type="fix" due-to="Paul D Johe"> 2823 SyslogLayout contains extra space. 2824 </action> 2825 <action issue="LOG4J2-967" dev="ggregory" type="fix" due-to="Stefan Wehner"> 2826 log4j2.component.properties not read for all properties. 2827 </action> 2828 <action issue="LOG4J2-971" dev="ggregory" type="fix" due-to="Paul D Johe"> 2829 Another bad priority in Syslog messages. 2830 </action> 2831 <action issue="LOG4J2-972" dev="ggregory" type="fix"> 2832 org.apache.logging.log4j.core.net.ssl.TlsSyslogInputStreamReader does not need to create temp Integer objects. 2833 </action> 2834 <action issue="LOG4J2-974" dev="ggregory" type="fix" due-to="Daniel Galán y Martins"> 2835 Typo in EventLogger documentation. 2836 </action> 2837 <action issue="LOG4J2-988" dev="ggregory" type="update"> 2838 Update LMAX Disruptor from 3.3.0 to 3.3.2. 2839 </action> 2840 <action issue="LOG4J2-987" dev="ggregory" type="update"> 2841 Migrate tests from Logback 1.1.2 to 1.1.3. 2842 </action> 2843 <action issue="LOG4J2-988" dev="ggregory" type="update"> 2844 Update tests to use ActiveMQ from 5.10 to 5.11.1. 2845 </action> 2846 <action issue="LOG4J2-1004" dev="ggregory" type="update"> 2847 Update Jackson from 2.5.1 to 2.5.3. 2848 </action> 2849 <action issue="LOG4J2-1005" dev="ggregory" type="update"> 2850 Update Slf4j from 1.7.7 to 1.7.12. 2851 </action> 2852 </release> 2853 <release version="2.2" date="2015-02-22" description="GA Release 2.2"> 2854 <action issue="LOG4J2-938" dev="rpopma" type="fix" due-to="Mauro Molinari"> 2855 (JMX) To avoid memory leaks when web applications are restarted, JMX notifications are sent from 2856 the caller thread in web applications. For non-web applications notifications are sent from a background thread 2857 as before. 2858 </action> 2859 <action issue="LOG4J2-957" dev="ggregory" type="fix" due-to="fatih guleryuz"> 2860 Missing toUpperCase(Locale.ENGLISH). 2861 </action> 2862 <action issue="LOG4J2-956" dev="ggregory" type="fix" due-to="David Kellerman"> 2863 Manual refers to Route "AppenderRef" attribute, should be "ref". 2864 </action> 2865 <action issue="LOG4J2-955" dev="rpopma" type="update"> 2866 Documentation: clarify system properties to control status logger, improve troubleshooting FAQ entry. 2867 </action> 2868 <action issue="LOG4J2-950" dev="ggregory" type="update" due-to="Joel Edwards"> 2869 Incorrect attribute name in PropertiesRewritePolicy example. 2870 </action> 2871 <action issue="LOG4J2-944" dev="ggregory" type="fix" due-to="Vinayaka Ramachandra"> 2872 Log4j Flume appender is not adding millisecond to the event headers when the event is logged at 000 milliseconds. 2873 </action> 2874 <action issue="LOG4J2-941" dev="ggregory" type="add" due-to="Konstantinos Liakos"> 2875 Allow JSON layout to create one compact log record per line. 2876 </action> 2877 <action issue="LOG4J2-933" dev="ggregory" type="add" due-to="ppiman at gmail.com"> 2878 HTML layout should not use attribute minimalization for hr noshade. 2879 </action> 2880 <action issue="LOG4J2-895" dev="ggregory" type="add"> 2881 Specify the SyslogAppender connect timeout value as part of the configuration. 2882 The SyslogAppender takes a new parameter connectTimeoutMillis. 2883 </action> 2884 <action issue="LOG4J2-899" dev="ggregory" type="add"> 2885 Specify the SocketAppender connect timeout value as part of the configuration. 2886 The SyslogAppender takes a new parameter connectTimeoutMillis. 2887 </action> 2888 <action issue="LOG4J2-924" dev="ggregory" type="fix" due-to="Ryan Rupp"> 2889 Log4j 1.2 Bridge doesn't map level ALL correctly in Category.getEffectiveLevel(). 2890 </action> 2891 <action issue="LOG4J2-931" dev="ggregory" type="fix" due-to="Robert Gacki"> 2892 ConsoleAppender is missing @PluginFactory annotation at createAppender method. 2893 </action> 2894 <action issue="LOG4J2-919" dev="ggregory" type="fix" due-to="David Johle"> 2895 Logging system fails to initialize if XInclude API is not available. 2896 </action> 2897 <action issue="LOG4J2-914" dev="ggregory" type="fix" due-to="Kaj Bjurman"> 2898 ThrowableProxy.getExtendedStackTraceAsString causes NullPointerException. 2899 </action> 2900 <action issue="LOG4J2-912" dev="ggregory" type="fix"> 2901 XML configuration does not report full error message for XInclude parser configuration problems. 2902 </action> 2903 <action issue="LOG4J2-903" dev="ggregory" type="fix" due-to="Mauro Molinari"> 2904 ClassLoaderContextSelector uses ClassLoader.toString() as a key 2905 </action> 2906 <action issue="LOG4J2-834" dev="ggregory" type="fix" due-to="Nikita Koval, Leonard Broman, Thiago Kronig"> 2907 ThrowableProxy throws NoClassDefFoundError. 2908 </action> 2909 <action issue="LOG4J2-893" dev="ggregory" type="fix"> 2910 NullPointerException on filter when mapping JUL to Log4j2. 2911 </action> 2912 <action issue="LOG4J2-892" dev="ggregory" type="fix"> 2913 JUL adapter does not map Log4j'2 FATAL level to a JUL level. 2914 </action> 2915 <action issue="LOG4J2-881" dev="ggregory" type="fix" due-to="Mariano Gonzalez"> 2916 AbstractLifecycle should not implement equals() and hashCode(). 2917 </action> 2918 <action issue="LOG4J2-897" dev="ggregory" type="fix"> 2919 Javadoc for org.apache.log4j.BasicConfigurator.configure() is incorrect. 2920 </action> 2921 <action issue="LOG4J2-891" dev="ggregory" type="fix"> 2922 AbstractLifecycle should not implement equals() and hashCode(). 2923 </action> 2924 <action issue="LOG4J2-946" dev="ggregory" type="fix" due-to="artemonster"> 2925 [docs] Using Log4j 2 in Web Applications: Update example (Log4jWebLifeCycle is not visible). 2926 </action> 2927 <action issue="LOG4J2-901" dev="ggregory" type="update" due-to="Tihomir Meščić, Siegfried Greisinger"> 2928 Update docs for SyslogAppender: "No structured id name was supplied" 2929 </action> 2930 <action issue="LOG4J2-958" dev="ggregory" type="update"> 2931 Update from Jackson 2.5.0 to 2.5.1. 2932 </action> 2933 <action issue="LOG4J2-925" dev="ggregory" type="update"> 2934 Update from Jackson 2.4.4 to 2.5.0. 2935 </action> 2936 <action issue="LOG4J2-910" dev="ggregory" type="update"> 2937 Update Jackson from 2.4.3 to 2.4.4. 2938 </action> 2939 <action issue="LOG4J2-881" dev="ggregory" type="update"> 2940 Update Jackson from 2.4.2 to 2.4.3. 2941 </action> 2942 <action issue="LOG4J2-882" dev="ggregory" type="update"> 2943 Update maven-core from 3.1.0 to 3.2.3. 2944 </action> 2945 <action issue="LOG4J2-883" dev="ggregory" type="update"> 2946 Update tests from org.apache.felix.framework 4.2.1 to 4.4.1. 2947 </action> 2948 <action issue="LOG4J2-884" dev="ggregory" type="update"> 2949 Update org.eclipse.osgi from 3.6.0 to 3.7.1. 2950 </action> 2951 <action issue="LOG4J2-900" dev="ggregory" type="update"> 2952 Update Apache Flume from 1.5.0.1 to 1.5.2. 2953 </action> 2954 </release> 2955 <release version="2.1" date="2014-10-19" description="GA Release 2.1"> 2956 <action issue="LOG4J2-676" dev="rgoers" type="fix" due-to="Stefan Bodewig"> 2957 Some typo fixes and enhancements for the site. 2958 </action> 2959 <action issue="LOG4J2-868" dev="mattsicker" type="add"> 2960 Add ShutdownCallbackRegistry interface for customizable shutdown callback handling. This is particularly 2961 useful for application servers that wish to integrate with Log4j 2. 2962 </action> 2963 <action issue="LOG4J2-866" dev="rpopma" type="fix" due-to="Gerard Weatherby"> 2964 Documentation: fixed missing closing parenthesis in code example. 2965 </action> 2966 <action issue="LOG4J2-862" dev="mattsicker" type="fix" due-to="Michael Sutherland"> 2967 Fixed classloader issue that prevented Log4j from finding the implementation when used in a custom Ant task. 2968 </action> 2969 <action issue="LOG4J2-589" dev="rpopma" type="add"> 2970 Supported filtering on custom log levels in configuration. 2971 </action> 2972 <action issue="LOG4J2-861" dev="rpopma" type="fix"> 2973 Documentation: fix broken links on left navigation Extending Log4j Configuration sub-menu. 2974 </action> 2975 <action issue="LOG4J2-856" dev="rpopma" type="add"> 2976 Documentation: add sections on the JUL Adapter, IO Streams and NoSQL Appenders to the Maven and Ivy page. 2977 </action> 2978 <action issue="LOG4J2-797" dev="rpopma" type="fix" due-to="Andreas Rytina"> 2979 Documentation: clarified why log4j-core is a compile time dependency in Maven and Ivy page. 2980 </action> 2981 <action issue="LOG4J2-855" dev="rpopma" type="fix"> 2982 Documentation: fix broken links on Appenders manual page. 2983 </action> 2984 <action issue="LOG4J2-807" dev="rpopma" type="fix"> 2985 Prevent NPE when configuration with AsyncLogger/AsyncRoot is reloaded. 2986 </action> 2987 <action issue="LOG4J2-848" dev="ggregory" type="add"> 2988 Add a Java lookup to provide nicely formatted runtime version information. 2989 </action> 2990 <action issue="LOG4J2-809" dev="mattsicker" type="add"> 2991 Move reflection utility class to API's private utility classes. 2992 </action> 2993 <action issue="LOG4J2-845" dev="mattsicker" type="update"> 2994 Add 2.1.0 to compatible versions in Log4j API ProviderUtil and update Log4jAPIVersion to 2.1.0 in 2995 core META-INF/log4j-provider.properties. 2996 </action> 2997 <action issue="LOG4J2-833" dev="rpopma" type="add"> 2998 Documentation: added Runtime Dependencies link to left nav-bar on site. 2999 </action> 3000 <action issue="LOG4J2-816" dev="rpopma" type="add"> 3001 Documentation: added section on XInclude to user manual Configuration page. 3002 </action> 3003 <action issue="LOG4J2-678" dev="rpopma" type="fix" due-to="Matt Sicker"> 3004 Documentation: fixed minor issues with Log4j2 web site/documentation. 3005 </action> 3006 <action issue="LOG4J2-844" dev="rpopma" type="update"> 3007 Update JMH to 1.1 from 0.7.2. 3008 </action> 3009 <action issue="LOG4J2-843" dev="rpopma" type="fix"> 3010 Migrate JpaHyperSqlAppenderTest JUnit performance test to log4j-perf. 3011 </action> 3012 <action issue="LOG4J2-842" dev="rpopma" type="fix"> 3013 Migrate JpaH2AppenderTest JUnit performance test to log4j-perf. 3014 </action> 3015 <action issue="LOG4J2-841" dev="rpopma" type="fix"> 3016 Migrate JdbcHyperSqlAppenderTest JUnit performance test to log4j-perf. 3017 </action> 3018 <action issue="LOG4J2-840" dev="rpopma" type="fix"> 3019 Migrate JdbcH2AppenderTest JUnit performance test to log4j-perf. 3020 </action> 3021 <action issue="LOG4J2-830" dev="rpopma" type="fix"> 3022 Respect external interrupt signal to allow application shutdown after joining AsyncAppender thread. 3023 </action> 3024 <action issue="LOG4J2-813" dev="ggregory" type="fix" due-to="David Erichsen, Brandon Barry"> 3025 MarkerManager Log4jMarker.hasParents() returns opposite of correct result. 3026 </action> 3027 <action issue="LOG4J2-785" dev="rpopma" type="fix"> 3028 Documentation: fixed capitalization inconsistency in user manual example config. 3029 </action> 3030 <action issue="LOG4J2-829" dev="rpopma" type="fix"> 3031 Fixed issue in RollingFile filePattern: backslashes are path separators, not escape characters. 3032 </action> 3033 <action issue="LOG4J2-547" dev="mattsicker" type="add"> 3034 Add the Log4j IOStreams component. 3035 </action> 3036 <action issue="LOG4J2-431" dev="rpopma" type="add" due-to="Claude Mamo"> 3037 Added Memory-Mapped File Appender. 3038 </action> 3039 <action issue="LOG4J2-832" dev="ggregory" type="fix" due-to="Seth Leger"> 3040 ThrowableProxy fails if a class in logged stack trace throws java.lang.Error from initializer 3041 </action> 3042 <action issue="LOG4J2-831" dev="rpopma" type="update"> 3043 Documentation: updated FAQ "which jars" diagrams for JUL bridge and 2.1 version. 3044 </action> 3045 <action issue="LOG4J2-827" dev="mattsicker" type="add"> 3046 Support use of TypeConverter classes through the standard Plugin system. 3047 </action> 3048 <action issue="LOG4J2-745" dev="mattsicker" type="fix" due-to="Scott Harrington"> 3049 Avoid ConverterKey plugin clashes by using a more predictable plugin loading infrastructure. 3050 Plugins have been segmented into three parts: class path, user-specified packages, and OSGi bundles. 3051 </action> 3052 <action issue="LOG4J2-798" dev="mattsicker" type="fix" due-to="Scott Harrington"> 3053 Fixed plugin scanning redundancy causing massive slowdowns in certain environments. 3054 </action> 3055 <action issue="LOG4J2-753" dev="rpopma" type="fix"> 3056 Reduced CachedClock thread contention. 3057 </action> 3058 <action issue="LOG4J2-819" dev="mattsicker" type="fix" due-to="Gary Gregory"> 3059 Fixed memory leak in Tomcat 6 caused by clock background threads unintentionally 3060 started by Tomcat after web application stop. 3061 </action> 3062 <action issue="LOG4J2-825" dev="mattsicker" type="add"> 3063 Add simple validation constraint annotations for the Plugin system. 3064 </action> 3065 <action issue="LOG4J2-428" dev="ggregory" type="add" due-to="Mark Paluch, Mikael Ståldal"> 3066 Implement a GELF layout. 3067 </action> 3068 <action issue="LOG4J2-391" dev="rgoers" type="fix" due-to="Kamal Bahadur"> 3069 FlumePersistentManager now handles LockConflictExceptions in Berkeley Db when sending a batch. 3070 </action> 3071 <action issue="LOG4J2-782" dev="mattsicker" type="fix"> 3072 Remove invalid Oracle Maven repository. 3073 </action> 3074 <action issue="LOG4J2-780" dev="mattsicker" type="update"> 3075 Update Spring Framework to 3.2.11.RELEASE from 3.2.8.RELEASE. 3076 </action> 3077 <action issue="LOG4J2-815" dev="mattsicker" type="update"> 3078 Unify the two JMS appenders into a single appender. Configurations written for 2.0 will still work in 2.1+. 3079 </action> 3080 <action issue="LOG4J2-608" dev="mattsicker" type="add"> 3081 Add java.util.logging implementation based on log4j-api. See log4j-jul documentation for more details. 3082 </action> 3083 <action issue="LOG4J2-796" dev="rpopma" type="fix"> 3084 Fixed issue where log4j-to-slf4j did not work correctly with SLF4J Simple Logger. 3085 </action> 3086 <action issue="LOG4J2-811" dev="ggregory" type="fix" due-to="Yogesh Rao"> 3087 SimpleLogger throws ArrayIndexOutOfBoundsException for an empty array. 3088 </action> 3089 <action issue="LOG4J2-663" dev="mattsicker" type="fix" due-to="Florian Brunner"> 3090 Fix OSGi Import-Package problem with the JMS API. 3091 </action> 3092 <action issue="LOG4J2-793" dev="mattsicker" type="add"> 3093 Add support for custom SLF4J Markers in log4j-slf4j-impl module. 3094 </action> 3095 <action issue="LOG4J2-783" dev="rpopma" type="fix" due-to="Minglei Lee"> 3096 PatternLayout should use platform character encoding by default, not UTF-8. 3097 </action> 3098 <action issue="LOG4J2-771" dev="ggregory" type="add"> 3099 Add lookup for application main arguments. 3100 </action> 3101 <action issue="LOG4J2-787" dev="ggregory" type="add"> 3102 Add lookup for JVM arguments. 3103 </action> 3104 <action issue="LOG4J2-790" dev="ggregory" type="update"> 3105 Update Jackson to 2.4.2 from 2.4.1 (for XML and JSON processing). 3106 </action> 3107 <action issue="LOG4J2-766" dev="ggregory" type="update" due-to="Bruno P. Kinoshita"> 3108 Incomplete documentation for JSONLayout. 3109 </action> 3110 <action issue="LOG4J2-800" dev="ggregory" type="update"> 3111 All life cycle implementations should be serializable. 3112 This is still work in progress. 3113 </action> 3114 <action issue="LOG4J2-801" dev="ggregory" type="update"> 3115 org.apache.logging.log4j.core.Logger should be serializable. 3116 This is still work in progress. 3117 </action> 3118 <action issue="LOG4J2-810" dev="ggregory" type="update"> 3119 Update javax.mail to 1.5.2 from 1.5.0. 3120 </action> 3121 <action issue="LOG4J2-822" dev="ggregory" type="update"> 3122 Update org.eclipse.persistence.jpa to 2.5.2 from 2.5.1. 3123 </action> 3124 <action issue="LOG4J2-867" dev="ggregory" type="update"> 3125 FlumeAppender: maxDelay not in seconds, but milliseconds. 3126 Add time scale to some settings, for example maxDelayMillis instead of maxDelay. 3127 The old names are aliased for compatibility. 3128 </action> 3129 </release> 3130 <release version="2.0.2" date="2014-08-16" description="Bug fixes and enhancements"> 3131 <action issue="LOG4J2-775" dev="ggregory" type="update"> 3132 Update Apache Flume to 1.5.0.1 from 1.5.0. 3133 </action> 3134 <action issue="LOG4J2-773" dev="rpopma" type="fix"> 3135 Site: log4j-core component pages were still using the old logo. 3136 </action> 3137 <action issue="LOG4J2-760" dev="rpopma" type="fix"> 3138 Documentation improvement: link to dependency tree from log4j-core component page, 3139 link to log4j-core component page from FAQ page. 3140 </action> 3141 <action issue="LOG4J2-679" dev="rpopma" type="fix"> 3142 Resolved race condition that caused log file rotation to fail with error: "Unable to create directory ..." 3143 </action> 3144 <action issue="LOG4J2-726" dev="rpopma" type="fix"> 3145 Prevent application from hanging when PatternLayout configuration has opening '{' but no closing '}'. 3146 </action> 3147 <action issue="LOG4J2-769" dev="rpopma" type="fix" due-to="Scott Harrington"> 3148 Startup takes a long time if you have empty packages attribute. 3149 </action> 3150 <action issue="LOG4J2-763" dev="rpopma" type="fix" due-to="Stephen Connolly"> 3151 Improved asynchronous loggers and appenders to ensure the formatted message does not change even if 3152 parameters are modified by the application. (ParameterizedMessage was already safe.) 3153 Improved documentation. 3154 </action> 3155 <action issue="LOG4J2-729" dev="rpopma" type="fix"> 3156 Emit warning message to console if no configuration file found. 3157 </action> 3158 <action issue="LOG4J2-765" dev="rpopma" type="fix"> 3159 Improve warning message when missing log4j-core in the classpath. 3160 </action> 3161 <action issue="LOG4J2-722" dev="rpopma" type="fix"> 3162 Clarified in documentation that Commons Logging jar is required when using log4j-jcl. 3163 </action> 3164 <action issue="LOG4J2-723" dev="rpopma" type="fix"> 3165 Clarified in documentation that SLF4J API jar is required when using log4j-slf4j-impl. 3166 </action> 3167 <action issue="LOG4J2-730" dev="rpopma" type="update"> 3168 Allow Log4jContextFactory subclasses to specify a custom ContextSelector. 3169 </action> 3170 <action issue="LOG4J2-759" dev="rpopma" type="fix"> 3171 Fixed various minor site/documentation issues, mostly versioning related. 3172 </action> 3173 <action issue="LOG4J2-756" dev="rpopma" type="fix" due-to="Scott Harrington"> 3174 Prevent JUnit test from creating unnecessary Log4j2Plugins.dat during build. 3175 </action> 3176 </release> 3177 <release version="2.0.1" date="2014-07-29" description="Bug fixes"> 3178 <action issue="LOG4J2-744" dev="rpopma" type="fix" due-to="Scott Harrington"> 3179 Avoid unnecessary Clock calls when TimestampMessage is logged. 3180 </action> 3181 <action issue="LOG4J2-704" dev="rpopma" type="fix"> 3182 Improved error message if configuration file not found. 3183 </action> 3184 <action issue="LOG4J2-750" dev="ggregory" type="fix" due-to="Mike Calmus"> 3185 Webapp configuration page has incorrect class name. 3186 </action> 3187 <action issue="LOG4J2-749" dev="rpopma" type="fix" due-to="Scott Harrington"> 3188 Retain the default date pattern after fixing the ISO8601 pattern. 3189 </action> 3190 <action issue="LOG4J2-670" dev="rpopma" type="fix"> 3191 DatePatternConverter ISO8601_PATTERN now conforms to ISO8601. 3192 </action> 3193 <action issue="LOG4J2-741" dev="rpopma" type="fix"> 3194 Reinstate the package configuration attribute for discovering custom plugins. 3195 </action> 3196 <action issue="LOG4J2-742" dev="ggregory" type="fix" due-to="Pascal Chollet"> 3197 XInclude not working with relative path. 3198 </action> 3199 <action issue="LOG4J2-740" dev="mattsicker" type="fix" due-to="Kosta Krauth"> 3200 Fixed typo in webapp manual regarding sample web.xml file. 3201 </action> 3202 <action issue="LOG4J2-738" dev="ggregory" type="fix" due-to="Timothy Stack"> 3203 RollingFileManager deadlock if async action thread fails to start. 3204 </action> 3205 <action issue="LOG4J2-736" dev="mattsicker" type="fix"> 3206 Fixed log4j-bom so that it won't specify a default scope on any third party dependencies. 3207 </action> 3208 <action issue="LOG4J2-735" dev="mattsicker" type="fix"> 3209 Fixed log4j-bom so that it won't interfere with spring-bom and others. 3210 </action> 3211 <action issue="LOG4J2-731" dev="mattsicker" type="fix"> 3212 Updated documentation regarding extensions to LoggerContextFactory and Log4j 2 providers. 3213 </action> 3214 <action issue="LOG4J2-373" dev="mattsicker" type="fix"> 3215 Fixed ClassLoader issues in loading Log4j providers in an OSGi environment. 3216 </action> 3217 <action issue="LOG4J2-725" dev="mattsicker" type="add"> 3218 Added WebLoggerContextUtils class to log4j-web for helper methods useful for asynchronous servlets. 3219 </action> 3220 <action issue="LOG4J2-710" dev="rpopma" type="add"> 3221 Added documentation for Custom Levels and Custom Loggers. 3222 </action> 3223 <action issue="LOG4J2-719" dev="rpopma" type="fix"> 3224 Correctly handle NetworkOnMainThreadException thrown on Android during Log4j2 initialization. 3225 </action> 3226 <action issue="LOG4J2-716" dev="rpopma" type="fix"> 3227 Automatically disable log4j JMX when detecting we are running on Android. 3228 </action> 3229 <action issue="LOG4J2-657" dev="rpopma" type="fix" due-to="Stefan Wehner"> 3230 Fixed AbstractDatabaseManager to close connection on writeInternal error. 3231 </action> 3232 <action issue="LOG4J2-713" dev="ggregory" type="fix" due-to="Nelson Melina"> 3233 Android: java.lang.VerifyError: org/apache/logging/log4j/core/util/Closer 3234 </action> 3235 <action issue="LOG4J2-703" dev="ggregory" type="fix" due-to="Nelson Melina"> 3236 Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup. 3237 </action> 3238 <action issue="LOG4J2-732" dev="ggregory" type="updated"> 3239 Update to LMAX Disruptor 3.3.0 from 3.2.1. 3240 </action> 3241 <action issue="LOG4J2-733" dev="ggregory" type="updated"> 3242 Update to latest Jackson jars from the 2.4.1.X line. 3243 </action> 3244 </release> 3245 <release version="2.0" date="2014-07-12" description="GA Release"> 3246 <action issue="LOG4J2-705" dev="rpopma" type="fix"> 3247 Fixed issue where Async Logger does not log thread context stack data. 3248 API change: added method getImmutableStackOrNull() to ThreadContext.ContextStack interface. 3249 </action> 3250 <action issue="LOG4J2-631" dev="rpopma" type="fix"> 3251 Update docs to clarify how to use formatter logger and standard logger together. 3252 </action> 3253 <action issue="LOG4J2-519" dev="rpopma" type="add"> 3254 Added support for generating custom logger wrappers that replace the existing log levels 3255 and extended logger wrappers that add custom log levels to the existing ones. 3256 </action> 3257 <action issue="LOG4J2-441" dev="rgoers" type="fix"> 3258 LoggerConfigs with no Level now inherit the Level from their parent. 3259 </action> 3260 <action issue="LOG4J2-696" dev="ggregory" type="add"> 3261 RegexFilter does not match multiline log messages. 3262 </action> 3263 <action issue="LOG4J2-699" dev="rpopma" type="fix"> 3264 PatternLayout manual page missing documentation on header/footer. 3265 </action> 3266 <action issue="LOG4J2-625" dev="rpopma" type="fix"> 3267 Fixed Serialization error with SocketAppender and Async Loggers. 3268 (Fixed in RC2, but wasn't included in release notes.) 3269 </action> 3270 <action issue="LOG4J2-538" dev="rpopma" type="fix"> 3271 JMX GUI: fixed occasional ArrayIndexOutOfBoundsException after pressing "reconfigure with XML below". 3272 (Fixed in RC2, but wasn't included in release notes.) 3273 </action> 3274 <action issue="LOG4J2-666" dev="rpopma" type="fix"> 3275 AsyncLoggerContextSelector should ensure that different AsyncLoggerContext objects created by web app classloaders have unique names. 3276 </action> 3277 <action issue="LOG4J2-683" dev="mattsicker" type="fix" due-to="Jurriaan Mous"> 3278 Fix annotation processor warnings on JDK 1.7+. 3279 </action> 3280 <action issue="LOG4J2-694" dev="mattsicker" type="fix"> 3281 Fix strange compilation error that popped up in a test class. 3282 </action> 3283 <action issue="LOG4J2-692" dev="rgoers" type="fix"> 3284 Update documentation to specify only Maven 3 is supported. 3285 </action> 3286 <action issue="LOG4J2-690" dev="rgoers" type="fix" due-to="Philip Helger"> 3287 Log4j Web test dependencies should be in scope "test" in the pom. 3288 </action> 3289 <action issue="LOG4J2-682" dev="ggregory" type="fix" due-to="Scott Harrington"> 3290 Special characters (tab and so on) in PatternLayout do not work. 3291 </action> 3292 <action issue="LOG4J2-685" dev="ggregory" type="update"> 3293 Make org.apache.logging.log4j.core.layout.AbstractLayout immutable. 3294 </action> 3295 <action issue="LOG4J2-686" dev="ggregory" type="fix"> 3296 Core's OptionConverter support for \b is broken (affects PatternLayout). 3297 </action> 3298 <action issue="LOG4J2-687" dev="ggregory" type="fix"> 3299 Rename org.apache.logging.log4j.core.util.Closer.closeSilent() to closeSilently(). 3300 </action> 3301 <action issue="LOG4J2-688" dev="ggregory" type="fix"> 3302 Make org.apache.logging.log4j.core.layout.PatternLayout immutable. 3303 </action> 3304 <action issue="LOG4J2-689" dev="ggregory" type="update"> 3305 Update Jackson to 2.4.1. 3306 </action> 3307 <action issue="LOG4J2-707" dev="ggregory" type="fix"> 3308 Some exceptions are not logged when configuration problems are detected. 3309 </action> 3310 <action issue="LOG4J2-709" dev="ggregory" type="update"> 3311 Update Apache Commons Logging to 1.2 from 1.1.3. 3312 </action> 3313 </release> 3314 <release version="2.0-rc2" date="2014-06-21" description="Bug fixes and enhancements"> 3315 <action issue="LOG4J2-675" dev="rpopma" type="add"> 3316 RollingFile and RollingRandomAccessFile now write the layout footer before rollover. 3317 </action> 3318 <action issue="LOG4J2-581" dev="rpopma" type="fix" due-to="Alexander Khokhlov"> 3319 RollingRandomAccessFile now writes the layout header after rollover. 3320 </action> 3321 <action issue="LOG4J2-622" dev="rpopma" type="fix" due-to="Farooq Khan"> 3322 RollingFileManager now correctly honours the bufferedIO configuration after rollover. 3323 </action> 3324 <action issue="LOG4J2-674" dev="rpopma" type="add"> 3325 Made RollingFileAppender buffer size configurable. 3326 </action> 3327 <action issue="LOG4J2-141" dev="rpopma" type="fix" due-to="Joern Huxhorn"> 3328 Improved documentation regarding log4j status logger. 3329 </action> 3330 <action issue="LOG4J2-539" dev="rpopma" type="fix" due-to="Colin Froggatt"> 3331 Fixed issue with "Reconfigure using XML below" function in JMX Client GUI. 3332 ConfigurationSource is now a top-level class and can be obtained with Configuration.getConfigurationSource(). 3333 LoggerContext.getConfiguration().getConfigurationSource() 3334 provides a reliable public method for obtaining a logger context's configuration location and content. 3335 </action> 3336 <action issue="LOG4J2-619" dev="rgoers" type="fix" due-to="Scott Harrington"> 3337 Invalid XML configuration files do not prevent the config file from being checked again. 3338 </action> 3339 <action issue="LOG4J2-637" dev="rpopma" type="fix" due-to="Mansoor Sajjad, Jon Wilmoth"> 3340 JMX: Updating a Logger's level via jConsole now correctly takes effect. 3341 </action> 3342 <action issue="LOG4J2-668" dev="rpopma" type="fix"> 3343 Correctly process log events when combining AsyncLoggers with AsyncAppender. 3344 </action> 3345 <action issue="LOG4J2-669" dev="rpopma" type="fix"> 3346 Prevent NPE when combining AsyncLoggers with AsyncLoggerConfigs. 3347 </action> 3348 <action issue="LOG4J2-42" dev="rgoers" type="add"> 3349 Create an appender to route log events to the ServletContext log. 3350 </action> 3351 <action issue="LOG4J2-419" dev="rgoers" type="update" due-to="Woonsan Ko"> 3352 Support default value for missing key in look ups with fallback to looking in the properties map. 3353 </action> 3354 <action issue="LOG4J2-563" dev="rgoers" type="fix" due-to="Michael Friedmann"> 3355 FlumeAvroManager now always uses a client type of default_failover. 3356 </action> 3357 <action issue="LOG4J2-554" dev="rgoers" type="update"> 3358 Allow configuration files to be located as Servlet Context resources. 3359 </action> 3360 <action issue="LOG4J2-535" dev="rgoers" type="fix"> 3361 Reset rollover time when size rollover is triggered. 3362 </action> 3363 <action issue="LOG4J2-664" dev="mattsicker" type="fix"> 3364 Moved plugin cache file to META-INF for OSGi compatibility. 3365 </action> 3366 <action issue="LOG4J2-640" dev="mattsicker" type="fix"> 3367 Fix NPE that can be caused by a null ThreadContextClassLoader. 3368 </action> 3369 <action issue="LOG4J2-655" dev="mattsicker" type="add"> 3370 Add Vagrantfile for testing in GNU+Linux. 3371 </action> 3372 <action issue="LOG4J2-651" dev="ggregory" type="fix"> 3373 Log4j 2 throws ArrayIndexOutOfBoundsException. 3374 </action> 3375 <action issue="LOG4J2-654" dev="rpopma" type="add"> 3376 Add log4j-perf module to provide a home for all log4j performance tests. 3377 Add support for JMH microbenchmark performance tests. 3378 </action> 3379 <action issue="LOG4J2-652" dev="mattsicker" type="add"> 3380 Add support for default plugin values and attributes. 3381 </action> 3382 <action issue="LOG4J2-598" dev="mattsicker" type="add"> 3383 Add support for types other than String for plugin factory values/attributes. 3384 </action> 3385 <action issue="LOG4J2-250" dev="rpopma" type="update"> 3386 Refactor Log4jLogEvent to lazily create ThrowableProxy. 3387 </action> 3388 <action issue="LOG4J2-647" dev="ggregory" type="update"> 3389 Upgrade to Flume 1.5.0. 3390 </action> 3391 <action issue="LOG4J2-644" dev="ggregory" type="add"> 3392 Implement a SecureSocketAppender and secure server (SSL/TLS). 3393 </action> 3394 <action issue="LOG4J2-646" dev="ggregory" type="update"> 3395 Merge the TLS Syslog appender into the Syslog appender. 3396 </action> 3397 <action issue="LOG4J2-620" dev="rgoers" type="fix"> 3398 Perform reconfiguration in a separate thread to prevent deadlocks. 3399 </action> 3400 <action issue="LOG4J2-641" dev="mattsicker" type="update"> 3401 Override commons-logging dependency version in tests. 3402 </action> 3403 <action issue="LOG4J2-639" dev="rpopma" type="fix" due-to="Mck SembWever"> 3404 Prevent NPE in AsyncLogger and AsyncLoggerConfig if logger is used after log4j has been shut down. 3405 </action> 3406 <action issue="LOG4J2-469" dev="rgoers" type="fix"> 3407 FailoverAppender was not resetting its status after the primary appender recovered. 3408 </action> 3409 <action issue="LOG4J2-623" dev="rgoers" type="fix"> 3410 Generate MDC properties as a JSON map in JSONLayout. 3411 </action> 3412 <action issue="LOG4J2-566" dev="rpopma" type="update" due-to="Luigi Alice"> 3413 Made RollingRandomAccessFileAppender buffer size configurable. 3414 </action> 3415 <action issue="LOG4J2-520" dev="rpopma" type="fix" due-to="JavaTech, Andre Bogus"> 3416 Resolved issue where AsyncAppender dropped events if queue still contained 3417 events when application is stopped. 3418 </action> 3419 <action issue="LOG4J2-392" dev="rpopma" type="fix" due-to="Andre Bogus"> 3420 Resolved a problem with the previous solution for LOG4J2-392 that resulted in dropped events 3421 when using AsyncLoggerConfig with slow appenders when application is stopped. 3422 </action> 3423 <action issue="LOG4J2-613" dev="mattsicker" type="fix"> 3424 The OSGi version of log4j-web imports Servlet 2.5 at minimum instead of 3.0. 3425 </action> 3426 <action issue="LOG4J2-602" dev="rgoers" type="fix"> 3427 Unit tests are now less verbose during the build process. 3428 </action> 3429 <action issue="LOG4J2-570" dev="mattsicker" type="fix"> 3430 Fix shutdown thread memory leak in servlet containers. 3431 </action> 3432 <action issue="LOG4J2-628" dev="rpopma" type="update"> 3433 Use Clock to generate all log event timestamps, not just for Async Loggers. 3434 </action> 3435 <action issue="LOG4J2-629" dev="rpopma" type="add"> 3436 Document the system properties used in Log4J 2. 3437 </action> 3438 <action issue="LOG4J2-542" dev="rgoers" type="fix"> 3439 Make Throwable transient in ThrowableProxy. 3440 </action> 3441 <action issue="LOG4J2-617" dev="mattsicker" type="update"> 3442 Update SLF4J to 1.7.7. 3443 </action> 3444 <action issue="LOG4J2-616" dev="mattsicker" type="update"> 3445 Update Jackson to 2.3.3. 3446 </action> 3447 <action issue="LOG4J2-440" dev="mattsicker" type="fix"> 3448 During shutdown, a NullPointerException could be thrown due to the NullConfiguration class no longer being 3449 available to the ClassLoader. 3450 </action> 3451 <action issue="LOG4J2-346" dev="mattsicker" type="fix"> 3452 Cyclic dependency with log4j-slf4j-impl in OSGi. 3453 </action> 3454 <action issue="LOG4J2-345" dev="mattsicker" type="fix"> 3455 The log4j-1.2-api module didn't export any packages to OSGi. 3456 </action> 3457 <action issue="LOG4J2-605" dev="mattsicker" type="fix"> 3458 Password data from the NoSQL plugins no longer shows up in cleartext in debug logging. 3459 </action> 3460 <action issue="LOG4J2-448" dev="rgoers" type="fix" due-to="X86core"> 3461 A StringIndexOutOfBounds exception could occur during property substitution. 3462 </action> 3463 <action issue="LOG4J2-597" dev="rgoers" type="fix"> 3464 StatusLogger was not skipping multiple instances of the FQCN class, causing messages from classes in 3465 the Verbose list to be printed. 3466 </action> 3467 <action issue="LOG4J2-585" dev="rgoers" type="update" due-to="Bruce Brouwer"> 3468 Add support for multiple parents to Markers. 3469 </action> 3470 <action issue="LOG4J2-595" dev="mattsicker" type="add"> 3471 Introduce Java annotation processor as the new plugin pre-caching mechanism. This is available in log4j-core. 3472 All custom plugins created before this should be re-built against the current log4j-core. 3473 </action> 3474 <action issue="LOG4J2-564" dev="mattsicker" type="fix"> 3475 Renamed SLF4J logger class to Log4jLogger. 3476 </action> 3477 <action issue="LOG4J2-579" dev="ggregory" type="fix"> 3478 Rework Level comparison APIs. 3479 </action> 3480 <action issue="LOG4J2-576" dev="ggregory" type="add"> 3481 Add org.apache.logging.log4j.Logger.getLevel(). 3482 </action> 3483 <action issue="LOG4J2-574" dev="rpopma" type="update"> 3484 Make Blocking the default WaitStrategy for Async Loggers. 3485 </action> 3486 <action issue="LOG4J2-555" dev="rpopma" type="update" due-to="Bruce Brouwer"> 3487 Introduce ExtendedLogger interface to facilitate implementing and extending Loggers. 3488 </action> 3489 <action issue="LOG4J2-560" dev="rgoers" type="fix"> 3490 SyslogAppenderTest and RFC5424LayoutTest were failing in Java 8. 3491 </action> 3492 <action issue="LOG4J2-561" dev="ggregory" type="update" due-to="vibin"> 3493 Allow spaces around commas in Configuration's package attribute. 3494 </action> 3495 <action issue="LOG4J2-547" dev="rgoers" type="update" due-to="Bruce Brouwer"> 3496 Have Logger API expose a PrintWriter instead of custom LoggerStream. 3497 </action> 3498 <action issue="LOG4J2-439" dev="rgoers" type="add" due-to="Bruce Brouwer"> 3499 Add EncodingPatternConverter to escape newlines and HTML special characters. 3500 </action> 3501 <action issue="LOG4J2-496" dev="rgoers" type="update"> 3502 Allow header and footer to be specified as lookup patterns in PatternLayout. 3503 </action> 3504 <action issue="LOG4J2-499" dev="rgoers" type="fix"> 3505 Add equals and hashcode to Log4jLogEvent. 3506 </action> 3507 <action issue="LOG4J2-410" dev="rgoers" type="update" due-to="Ivlin Zeng"> 3508 SLf4JLogger is now Serializable. 3509 </action> 3510 <action issue="LOG4J2-427" dev="rgoers" type="add" due-to="Alexander Reelsen"> 3511 Add support for configuration via YAML. 3512 </action> 3513 <action issue="LOG4J2-378" dev="rgoers" type="fix"> 3514 Add DateLookup and ThreadContextLookup to default lookups. 3515 </action> 3516 <action issue="LOG4J2-468" dev="rgoers" type="update"> 3517 Add support to add a LoggerConfig. Document two ways to modify the configuration. 3518 </action> 3519 <action issue="LOG4J2-582" dev="ggregory" type="update"> 3520 Rename org.apache.logging.log4j.core.net.SocketServer to TCPSocketServer and refactor with UDP. 3521 </action> 3522 <action issue="LOG4J2-592" dev="ggregory" type="update"> 3523 Update Jackson to 2.3.2 from 2.2.2. 3524 </action> 3525 </release> 3526 <release version="2.0-rc1" date="2014-02-16" description="Bug fixes and enhancements"> 3527 <action dev="nickwilliams" type="delete"> 3528 Removed the DataSourceConnectionSource and the <DriverManager> plugin for the JDBC Appender. It is not 3529 safe to use. Please use the DataSource or factory connection sources backed by a connection pool. 3530 </action> 3531 <action dev="nickwilliams" type="update"> 3532 Renamed the org.apache.logging.log4j.core.appender.db.nosql.mongo package to 3533 org.apache.logging.log4j.core.appender.db.nosql.mongodb. 3534 </action> 3535 <action dev="grobmeier" type="update"> 3536 Renamed the org.apache.logging.log4j.core.appender.db.nosql.couch package to 3537 org.apache.logging.log4j.core.appender.db.nosql.couchdb. 3538 </action> 3539 <action issue="LOG4J2-500" dev="rpopma" type="fix"> 3540 (JMX - ObjectNames changed!) Unloading one web application unloads JMX MBeans for all web applications. 3541 </action> 3542 <action issue="LOG4J2-507" dev="ggregory" type="update"> 3543 Space Level numbers by 100 instead of 1. 3544 </action> 3545 <action issue="LOG4J2-531" dev="rpopma" type="fix" due-to="Geoff Ballinger"> 3546 Fixed bugs where rolled log files were overwritten by RollingFile appender with 3547 composite time and size based policies. 3548 </action> 3549 <action issue="LOG4J2-475" dev="nickwilliams" type="fix" due-to="Matt Sicker"> 3550 Changed the MongoDBConnection to add a MongoDB encoding hook instead of a decoding hook. 3551 </action> 3552 <action issue="LOG4J2-489" dev="nickwilliams" type="fix"> 3553 Fixed the JPAAppender's overuse of transactions by connecting (borrowing from pool) on new write internal or on 3554 flush. 3555 </action> 3556 <action issue="LOG4J2-457" dev="nickwilliams" type="fix"> 3557 Fixed failure of JDBC and JPA appender to properly release database connections by connecting (borrowing from 3558 pool) on new write internal or on flush. 3559 </action> 3560 <action issue="LOG4J2-442" dev="nickwilliams" type="fix"> 3561 Fixed problem with JDBC and JPA appender connectivity in WebSphere by connecting (borrowing from pool) on new 3562 write internal or on flush. 3563 </action> 3564 <action issue="LOG4J2-438" dev="nickwilliams" type="fix"> 3565 Ensured the JDBCAppender commits transactions after a single write or a flush of multiple writes. 3566 </action> 3567 <action issue="LOG4J2-407" dev="nickwilliams" type="fix"> 3568 Fixed inability to recover from lost database connection in database appenders by connecting (borrowing from 3569 pool) on new write internal or on flush. 3570 </action> 3571 <action issue="LOG4J2-530" dev="rpopma" type="add"> 3572 (JMX) JMX Client GUI should dynamically update when LoggerContext MBeans are registered/unregistered in MBean 3573 server. 3574 </action> 3575 <action issue="LOG4J2-511" dev="rpopma" type="fix" due-to="James Pretorius"> 3576 Stop AsyncLoggerConfig Disruptor thread(s), then AsyncAppender thread(s) first 3577 before stopping other appenders. 3578 </action> 3579 <action issue="LOG4J2-392" dev="rpopma" type="fix" due-to="ilynaf, Andre Bogus"> 3580 Stop AsyncLoggerConfig Disruptor thread(s), then AsyncAppender thread(s) first 3581 before stopping other appenders. 3582 </action> 3583 <action issue="LOG4J2-345" dev="rpopma" type="fix" due-to="Roland Weiglhofer, Matt Sicker"> 3584 (OSGi) logging.log4j-1.2-api doesn't export the log4j API 1.2. Dependent bundles can not be resolved. 3585 </action> 3586 <action issue="LOG4J2-523" dev="ggregory" type="fix"> 3587 LocalizedMessage serialization is broken. 3588 </action> 3589 <action issue="LOG4J2-385" dev="rpopma" type="fix" due-to="Ace Funk, Porfirio Partida"> 3590 Fixed issues with time-based file rollover (monthly, weekly, hourly and every minute). 3591 </action> 3592 <action issue="LOG4J2-452" dev="nickwilliams" type="fix"> 3593 Added a ServletContext attribute that, when set to "true", disables Log4j's auto-initialization in 3594 Servlet 3.0+ web applications. 3595 </action> 3596 <action issue="LOG4J2-512" dev="nickwilliams" type="fix" due-to="Chandra Sekhar Kakarla, Matt Sicker"> 3597 Exposed Log4j web support interface and methods and the LoggerContext through ServletContext attributes 3598 so that threads not affected by filters (such as asynchronous threads) can utilize the LoggerContext. Also 3599 updated the Log4j filter so that it supports async. 3600 </action> 3601 <action issue="LOG4J2-409" dev="nickwilliams" type="fix" due-to="Frank Steinmann, Thomas Neidhart"> 3602 Created a utility to properly escape backslashes before creating URIs, and changed URI creation to use the 3603 utility instead of instantiating URI directly. 3604 </action> 3605 <action issue="LOG4J2-344" dev="nickwilliams" type="fix" due-to="Keir Lawson, Tomasz Wladzinski"> 3606 Changed the Servlet 3.0 auto-initializer to add the filter by class to get around a WebLogic bug. 3607 </action> 3608 <action issue="LOG4J2-359" dev="nickwilliams" type="fix" due-to="Abhinav Shah"> 3609 Changed the Servlet 3.0 auto-initializer so that it does nothing in a Servlet 2.5 or older application. This 3610 ensures behavioral consistency across containers. This includes additional fixes to abort initialization if a 3611 duplicate filter already exists and to check the actual Servlet EFFECTIVE version. 3612 </action> 3613 <action issue="LOG4J2-517" dev="rpopma" type="fix"> 3614 Switch in log4j-1.2-api Category.getEffectiveLevel has no cases for FATAL, OFF. 3615 </action> 3616 <action issue="LOG4J2-41" dev="rgoers" type="update" due-to="Nick Williams"> 3617 Add support for custom logging levels. 3618 </action> 3619 <action issue="LOG4J2-406" dev="rpopma" type="fix" due-to="Kerrigan Joseph"> 3620 (JMX) Unregister all log4j JMX MBeans when the LoggerContext is stopped 3621 to allow web application classes to be GC-ed on undeploy. 3622 </action> 3623 <action issue="LOG4J2-405" dev="rgoers" type="fix"> 3624 Configuration was being processed twice at startup. 3625 </action> 3626 <action issue="LOG4J2-479" dev="rpopma" type="add" due-to="MK"> 3627 ThreadContext now uses plain ThreadLocal by default, unless system property 3628 isThreadContextMapInheritable has value "true". 3629 </action> 3630 <action issue="LOG4J2-398" dev="rgoers" type="fix"> 3631 Configure properties and setup Interpolator before processing rest of configuration. 3632 </action> 3633 <action issue="LOG4J2-481" dev="rgoers" type="add" due-to="Matt Sicker"> 3634 Add Stream interface to Loggers. 3635 </action> 3636 <action issue="LOG4J2-490" dev="rgoers" type="update" due-to="Matt Sicker"> 3637 Update EasyMock to version 3.2. 3638 </action> 3639 <action issue="LOG4J2-470" dev="rgoers" type="fix"> 3640 hostName property was not being set until after the first configuration element. 3641 </action> 3642 <action issue="LOG4J2-464" dev="rgoers" type="fix"> 3643 Support arrays as sub-elements of a JSON configuration. 3644 </action> 3645 <action issue="LOG4J2-492" dev="rpopma" type="fix" due-to="Shaddy Baddah, Herlani Junior"> 3646 (JMX) Fixed MalformedObjectNameException if context name contains '=' or newline characters. 3647 </action> 3648 <action issue="LOG4J2-377" dev="rpopma" type="fix" due-to="Roland Weiglhofer, Matt Sicker"> 3649 (OSGi) Fix NPE during shutdown. 3650 </action> 3651 <action issue="LOG4J2-463" dev="rpopma" type="fix" due-to="Michael Diamond, Matt Sicker"> 3652 Fixed documentation for MyApp example application in the Automatic Configuration section 3653 </action> 3654 <action issue="LOG4J2-408" dev="rpopma" type="fix" due-to="Dongqing Hu, Matt Sicker"> 3655 Fixed error in documentation code example in manual/eventlogging.html 3656 </action> 3657 <action issue="LOG4J2-451" dev="rpopma" type="fix" due-to="Vinay Pothnis, Matt Sicker"> 3658 Fixed typo in documentation: system property should be log4j2.loggerContextFactory 3659 </action> 3660 <action issue="LOG4J2-443" dev="rpopma" type="fix" due-to="Colin Froggatt, Tudor Har"> 3661 (JMX) Fixed issue where log4j2 LoggerContext did not show up in JMX GUI or JConsole. 3662 </action> 3663 <action issue="LOG4J2-485" dev="rpopma" type="fix"> 3664 Fixed issue where toString methods that perform logging could deadlock AsyncAppender. 3665 </action> 3666 <action issue="LOG4J2-445" dev="rpopma" type="fix" due-to="Anthony Baldocchi"> 3667 ResolverUtil cannot find packages in file URLs which include the '+' character. 3668 </action> 3669 <action issue="LOG4J2-430" dev="rgoers" type="fix" due-to="David Gstir"> 3670 Use the formatted Message in RFC5424Layout for non-StructuredDataMessages. 3671 </action> 3672 <action issue="LOG4J2-459" dev="rgoers" type="fix"> 3673 Set external context when constructing the LoggerContext. 3674 </action> 3675 <action issue="LOG4J2-466" dev="rpopma" type="fix" due-to="Jan Tepke"> 3676 Cannot load log4j2 config file if path contains plus '+' characters. 3677 </action> 3678 <action issue="LOG4J2-462" dev="rpopma" type="fix" due-to="Daisuke Baba"> 3679 Fix LogEvent to never return null Level, fixes LevelPatternConverter.format may throw NPE. 3680 </action> 3681 <action issue="LOG4J2-465" dev="rpopma" type="fix" due-to="Daisuke Baba"> 3682 Fix LogEvent to never return null Level, fixes ThresholdFilter throws NPE. 3683 </action> 3684 <action issue="LOG4J2-471" dev="rpopma" type="fix" due-to="Anthony Baldocchi"> 3685 Fixed issue where toString methods that perform logging could deadlock AsyncLogger. 3686 </action> 3687 <action issue="LOG4J2-482" dev="rpopma" type="add" due-to="Hongdi Ren"> 3688 Documentation fix: The attribute of Route to refer to an appender is "ref" not "AppenderRef". 3689 </action> 3690 <action issue="LOG4J2-467" dev="rpopma" type="add" due-to="Anthony Baldocchi"> 3691 Added option to toggle Thread name caching in AsyncLogger. 3692 </action> 3693 <action issue="LOG4J2-478" dev="ggregory" type="fix" due-to="Michael Friedmann."> 3694 The message and ndc fields are not JavaScript escaped in JSONLayout. 3695 </action> 3696 <action issue="LOG4J2-455" dev="rpopma" type="fix" due-to="Robin Zhang Tao"> 3697 RingBufferLogEvent should return Message timestamp for TimestampMessage messages. 3698 </action> 3699 <action issue="LOG4J2-477" dev="rpopma" type="fix" due-to="Tal Liron"> 3700 NPE in ClassLoaderContextSelector. 3701 </action> 3702 <action issue="LOG4J2-454" dev="rpopma" type="fix" due-to="Robin Zhang Tao"> 3703 TimeBasedTriggeringPolicy should use event time millis. 3704 </action> 3705 <action issue="LOG4J2-472" dev="rpopma" type="fix" due-to="Tal Liron"> 3706 BaseConfiguration class does not properly implement Configuration interface. 3707 </action> 3708 <action issue="LOG4J2-447" dev="ggregory" type="fix" due-to="Jeff Hudren, Mark Paluch, Scott Deboy"> 3709 XMLLayout does not include marker name. 3710 </action> 3711 <action issue="LOG4J2-453" dev="rgoers" type="update"> 3712 Update Flume Appender to use Flume 1.4.0. 3713 </action> 3714 <action issue="LOG4J2-423" dev="rpopma" type="add"> 3715 (JMX) Added MBeans for instrumenting AsyncAppenders and AsyncLogger RingBuffers, 3716 exposing queue size, remaining capacity and other attributes. 3717 </action> 3718 <action issue="LOG4J2-323" dev="rpopma" type="fix"> 3719 Resolved memory leak by releasing reference to ThreadLocal when 3720 AsyncLogger is stopped. 3721 </action> 3722 <action issue="LOG4J2-425" dev="rpopma" type="fix"> 3723 Resolved memory leak by populating AsyncLoggerConfigHelper ring buffer 3724 via EventTranslatorTwoArg, eliminating the need for a ThreadLocal. 3725 </action> 3726 <action issue="LOG4J2-420" dev="ggregory" type="add"> 3727 Create a lookup for resource bundle substitution. 3728 </action> 3729 <action issue="LOG4J2-417" dev="ggregory" type="fix"> 3730 Fix Event Level / LoggerConfig Level table at the architecture documentation page. 3731 </action> 3732 <action issue="LOG4J2-415" dev="ggregory" type="add"> 3733 Format log event time as UNIX time (seconds or milliseconds). 3734 </action> 3735 <action issue="LOG4J2-404" dev="rgoers" type="fix" due-to="Kamal Bahadur"> 3736 @EnterpriseNumber" was missing in the ID of structured data when RFC5424Layout is used 3737 </action> 3738 <action issue="LOG4J2-379" dev="rpopma" type="fix"> 3739 Fixed issue that prevented Log4J from working in Google App Engine. 3740 </action> 3741 <action issue="LOG4J2-401" dev="ggregory" type="add"> 3742 Configure FileAppender buffer size. 3743 </action> 3744 <action issue="LOG4J2-402" dev="ggregory" type="add"> 3745 Configure RandomAccessFileAppender buffer size. 3746 </action> 3747 <action issue="LOG4J2-528" dev="ggregory" type="update"> 3748 Rename package org.apache.logging.log4j.core.appender.rolling.helper to org.apache.logging.log4j.core.appender.rolling.action. 3749 </action> 3750 <action issue="LOG4J2-532" dev="ggregory" type="update"> 3751 Resource leak in Flume appender when it cannot create a BerkeleyDB db. 3752 </action> 3753 <action issue="LOG4J2-413" dev="ggregory" type="update"> 3754 PatternLayout option to not output ANSI escape codes if no Console is available. 3755 </action> 3756 </release> 3757 <release version="2.0-beta9" date="2013-09-14" description="Bug fixes and enhancements"> 3758 <action issue="LOG4J2-317" dev="ggregory" type="update"> 3759 Renamed FastFileAppender and FastRollingFileAppender to RandomAccessFileAppender 3760 and RollingRandomAccessFileAppender. Configurations using the Fast(Rolling)File element 3761 no longer work and should be modified to use the (Rolling)RandomAccessFile element. 3762 </action> 3763 <action dev="nickwilliams" type="update"> 3764 Changed the "suppressExceptions" configuration attribute for all Appenders to "ignoreExceptions" to avoid 3765 confusion with Java 7 suppressed exceptions. Also renamed the Appender#isExceptionSuppressed() method to 3766 Appender#ignoreExceptions() to avoid the same confusion. All Appenders by default internally log and then ignore 3767 exceptions encountered while logging. Setting "ignoreExceptions" to "false" on an Appender causes it to allow 3768 exceptions to propagate to the caller. You must set "ignoreExceptions" to "false" for Appenders you are wrapping 3769 in the Failover Appender. 3770 </action> 3771 <action dev="nickwilliams" type="update"> 3772 Changed the (relatively new) PatternLayout configuration attribute "suppressExceptions" to 3773 "alwaysWriteExceptions" to more correctly indicate what it does. As such, the meaning of this attribute has 3774 reversed (previous "true"s should become "false"s, and vice versa). Since this was an undocumented attribute up 3775 until now, it's unlikely this change will affect any users. 3776 </action> 3777 <action issue="LOG4J2-226" dev="rgoers" type="fix"> 3778 Fix table of contents generation in pdf. 3779 </action> 3780 <action issue="LOG4J2-395" dev="rgoers" type="fix" due-to="Abhinav Shah"> 3781 Allow classpath scheme when specifying configuration file location as a system property. 3782 </action> 3783 <action issue="LOG4J2-393" dev="rgoers" type="fix"> 3784 Initialize PluginManager once during configuration. Move advertisement setup into BaseConfiguration. 3785 </action> 3786 <action issue="LOG4J2-391" dev="rgoers" type="fix" due-to="Kamal Bahadur"> 3787 FlumePersistentManager now handles LockConflictExceptions in Berkeley Db. 3788 </action> 3789 <action issue="LOG4J2-399" dev="ggregory" type="add"> 3790 Allow the default file rollover strategy to define the compression level. 3791 </action> 3792 <action issue="LOG4J2-338" dev="rgoers" type="add" due-to="Tibor Benke"> 3793 Add TLSAppender. Also added missing license headers to several files. 3794 </action> 3795 <action issue="LOG4J2-380" dev="rgoers" type="fix"> 3796 Use rollover date when substituting ${date} in the filePattern. 3797 </action> 3798 <action issue="LOG4J2-253" dev="rpopma" type="add"> 3799 Added FAQ page to the site. 3800 </action> 3801 <action issue="LOG4J2-362" dev="rpopma" type="add"> 3802 Add a diagram to the site (FAQ page) that explains when to use which jar. 3803 </action> 3804 <action issue="LOG4J2-322" dev="nickwilliams" type="fix"> 3805 Centralized reflective use of Reflection#getCallerClass and properly handled its instability in various versions 3806 of Java. 3807 </action> 3808 <action issue="LOG4J2-293" dev="rgoers" type="fix"> 3809 Reset the Configuration if the ClassLoaderContextSelector creates a LoggerContext without a configuration 3810 location and then is later provided one. 3811 </action> 3812 <action issue="LOG4J2-293" dev="nickwilliams" type="fix" due-to="Abhinav Shah"> 3813 Changed the ConfigurationFactory to recognize and properly use the classpath: URI scheme in addition to the 3814 classloader: URI scheme. 3815 </action> 3816 <action issue="LOG4J2-359" dev="nickwilliams" type="fix" due-to="Abhinav Shah"> 3817 Changed the Servlet 3.0 auto-initializer so that it does nothing in a Servlet 2.5 or older application. This 3818 ensures behavioral consistency across containers. 3819 </action> 3820 <action issue="LOG4J2-374" dev="ggregory" type="add" due-to="Tibor Benke"> 3821 Add more options to PatternLayout to display more detailed information about a Throwable. 3822 </action> 3823 <action issue="LOG4J2-383" dev="ggregory" type="add"> 3824 [Pattern Layout] Customize level names by length. 3825 </action> 3826 <action issue="LOG4J2-384" dev="ggregory" type="add"> 3827 [Pattern Layout] Customize level names to lower-case. 3828 </action> 3829 <action issue="LOG4J2-355" dev="ggregory" type="update" due-to="Tibor Benke"> 3830 Add support for multiple SD-ELEMENTs in a RFC 5424 syslog message. 3831 </action> 3832 <action dev="nickwilliams" type="update"> 3833 Cleaned up tests and cleared up documentation for the JPA appender following the resolution of EclipseLink 3834 issue #412454. 3835 </action> 3836 <action issue="LOG4J2-310" dev="rpopma" type="fix" due-to="Olivier Lemasle"> 3837 Fixed issue where SMTPAppender did not send mails with error or fatal level without prior info event. 3838 </action> 3839 <action issue="LOG4J2-368" dev="rgoers" type="fix"> 3840 Add PatternLayout constructor to Log4j 1.2 bridge for Velocity. 3841 </action> 3842 <action issue="LOG4J2-333" dev="ggregory" type="fix" due-to="Hervé Boutemy"> 3843 Match artifact ids with Maven module names. 3844 </action> 3845 <action issue="LOG4J2-364" dev="rgoers" type="add" due-to="David Nault"> 3846 Add WebLookup to retrieve information from the ServletContext. 3847 </action> 3848 <action issue="LOG4J2-367" dev="ggregory" type="fix" due-to="David Parry"> 3849 JMS appenders send two messages for one append. 3850 </action> 3851 <action issue="LOG4J2-319" dev="ggregory" type="fix"> 3852 Double stack trace logging when using %throwable in %style and %highlight. 3853 </action> 3854 <action issue="LOG4J2-360" dev="rgoers" type="add"> 3855 Allow Plugins to have aliases. 3856 </action> 3857 <action issue="LOG4J2-358" dev="nickwilliams" type="fix"> 3858 NoSQLAppender using MongoDB provider ignores username and password attributes 3859 </action> 3860 <action issue="LOG4J2-356" dev="ggregory" type="add"> 3861 Create a JSON Layout. 3862 </action> 3863 <action issue="LOG4J2-343" dev="rpopma" type="fix" due-to="Henning Schmiedehausen"> 3864 Removed unnecessary generics from Appender interface and implementing classes. 3865 </action> 3866 <action issue="LOG4J2-351" dev="rpopma" type="fix" due-to="Roland Weiglhofer"> 3867 [OSGi] wrong Fragment-Host in manifest files. 3868 </action> 3869 <action issue="LOG4J2-336" dev="rpopma" type="fix" due-to="Andre Bogus"> 3870 AsyncLogger errors after multiple calls to LoggerContext.reconfigure(). 3871 </action> 3872 <action issue="LOG4J2-347" dev="rpopma" type="fix" due-to="David Phillips"> 3873 Give the AsyncAppender thread a more descriptive name for easier debugging/profiling. 3874 </action> 3875 <action issue="LOG4J2-332" dev="rgoers" type="fix" due-to="Hervé Boutemy"> 3876 Modified documentation to refer to SLF4J Binding instead of SLF4J Bridge. 3877 </action> 3878 <action issue="LOG4J2-342" dev="rgoers" type="fix"> 3879 Ignore xml:base attributes. 3880 </action> 3881 <action issue="LOG4J2-309" dev="rgoers" type="fix"> 3882 Insure jars and distributions only have a single License and Notice file. 3883 </action> 3884 <action issue="LOG4J2-341" dev="ggregory" type="add"> 3885 Enable XInclude for XML configurations. 3886 </action> 3887 <action issue="LOG4J2-320" dev="ggregory" type="fix"> 3888 JPAAppender stops logging because META-INF/log4j-provider.properties is left open. 3889 </action> 3890 <action issue="LOG4J2-335" dev="rgoers" type="fix"> 3891 FlumePersistentManager's writer thread had high CPU usage. 3892 </action> 3893 <action issue="LOG4J2-331" dev="nickwilliams" type="fix"> 3894 Removed erroneous check for affected MongoDB records, which always returns zero on inserts. 3895 </action> 3896 <action issue="LOG4J2-330" dev="nickwilliams" type="fix"> 3897 Added a BSON Transformer so that MongoDB can persist Log4j events. 3898 </action> 3899 <action issue="LOG4J2-329" dev="rgoers" type="fix"> 3900 StatusLogger now only creates StatusData objects if they are the appropriate logging level. 3901 </action> 3902 <action issue="LOG4J2-328" dev="rgoers" type="fix"> 3903 FlumePersistentManager was calling Berkeley DB's count method too frequently. 3904 </action> 3905 <action issue="LOG4J2-280" dev="rpopma" type="fix"> 3906 Additional fix to make AsyncAppender threads daemon threads and improve their thread name. 3907 </action> 3908 <action issue="LOG4J2-165" dev="rgoers" type="fix"> 3909 The slf4j-ext jar is now an optional dependency of the SLF4J bridge. 3910 </action> 3911 <action issue="LOG4J2-318" dev="rgoers" type="update"> 3912 Allow shutdown hook to be disabled in the configuration. 3913 </action> 3914 <action issue="LOG4J2-166" dev="rgoers" type="fix"> 3915 RoutingAppender's default Route can now be an appender reference. 3916 </action> 3917 <action issue="LOG4J2-313" dev="rgoers" type="add" due-to="Woonsan Ko"> 3918 Add JNDILookup plugin. 3919 </action> 3920 <action issue="LOG4J2-299" dev="rgoers" type="fix"> 3921 Add getThrowable method to ThrowableProxy. 3922 </action> 3923 <action issue="LOG4J2-216" dev="rgoers" type="fix"> 3924 ThrowableProxy no longer extends Throwable. 3925 </action> 3926 <action issue="LOG4J2-311" dev="rpopma" type="fix"> 3927 Synchronized flush() and close() methods in the XxxFileManager and OutputStreamManager classes. 3928 </action> 3929 <action issue="LOG4J2-312" dev="ggregory" type="update"> 3930 XML layout improvements (compact vs. pretty, namespace, namespace prefix, root element). 3931 </action> 3932 <action issue="LOG4J2-388" dev="ggregory" type="update"> 3933 Update Java Mail dependency to 1.5.0 from 1.4.7. 3934 </action> 3935 <action issue="LOG4J2-325" dev="ggregory" type="update"> 3936 Update JDBC tests to use H2 database 1.3.173 from 1.3.172. 3937 </action> 3938 <action issue="LOG4J2-366" dev="ggregory" type="update"> 3939 Update commons-logging to 1.1.3 from 1.1.1. 3940 </action> 3941 <action issue="LOG4J2-390" dev="ggregory" type="update"> 3942 Update HSQLDB dependency to 2.3.0 from 2.2.9. 3943 </action> 3944 <action issue="LOG4J2-308" dev="rpopma" type="update"> 3945 Clarified which library versions were used in Async Loggers performance test. 3946 </action> 3947 <action issue="LOG4J2-307" dev="rpopma" type="update"> 3948 Updated Async Loggers' LMAX Disruptor library from 3.0.1 to 3.2.0. 3949 </action> 3950 <action issue="LOG4J2-306" dev="ggregory" type="update"> 3951 Update JSON Jackson library to 2.2.2 from 2.2.1. 3952 </action> 3953 <action issue="LOG4J2-387" dev="ggregory" type="update"> 3954 Update Jackson dependency to 1.9.13 from 1.9.11. 3955 </action> 3956 <action issue="LOG4J2-305" dev="ggregory" type="add"> 3957 Ease porting from 1.x Logger.getRootLogger(): add LogManager.getRootLogger(). 3958 </action> 3959 <action issue="LOG4J2-304" dev="rpopma" type="fix"> 3960 Fixed Async Loggers memory leak. 3961 </action> 3962 <action issue="LOG4J2-291" dev="nickwilliams" type="fix"> 3963 Fixed JDBC, JPA, and NoSQL appenders so that the failover appender properly fails over on error. 3964 </action> 3965 <action dev="nickwilliams" type="update"> 3966 Improved site by adding quick jump-off page and menu for Javadoc links for all components. 3967 </action> 3968 <action issue="LOG4J2-397" dev="ggregory" type="fix" due-to="Yonatan Graber"> 3969 Logger.info(Message) Javadoc is incorrect. 3970 </action> 3971 </release> 3972 <release version="2.0-beta8" date="2013-07-10" description="Bug fixes and enhancements"> 3973 <action issue="LOG4J2-270" dev="nickwilliams" type="update"> 3974 Improved logging initialization in Servlet containers, especially Servlet 3.0 and newer where Log4j now 3975 initializes and deinitializes automatically with no deployment descriptor configuration. 3976 </action> 3977 <action issue="LOG4J2-302" dev="rpopma" type="fix"> 3978 Added toString methods to ThreadContextStack/Map implementation classes. 3979 </action> 3980 <action issue="LOG4J2-301" dev="rgoers" type="update"> 3981 Add printf methods to Logger API. 3982 </action> 3983 <action issue="LOG4J2-300" dev="rgoers" type="fix"> 3984 WriterThread was ending when no agents are available which caused an OutOfMemoryError. 3985 </action> 3986 <action issue="LOG4J2-282" dev="rgoers" type="update"> 3987 Allow the default status level to be specified as a system property. 3988 </action> 3989 <action issue="LOG4J2-278" dev="rgoers" type="fix"> 3990 Filter calls from Avro or Flume to be ignored by the FlumeAppender. 3991 </action> 3992 <action issue="LOG4J2-279" dev="rgoers" type="fix"> 3993 FlumePersistentManager now calls Berkeley DB from threads to avoid encountering interrupts in the application. 3994 </action> 3995 <action issue="LOG4J2-296" dev="ggregory" type="fix"> 3996 Wasted work in FlumePersistentManager.createManager. 3997 </action> 3998 <action issue="LOG4J2-297" dev="ggregory" type="fix"> 3999 Wasted work in TestConfigurator.testEnvironment. 4000 </action> 4001 <action issue="LOG4J2-298" dev="ggregory" type="fix"> 4002 Wasted work in StyleConverterTest.setupClass. 4003 </action> 4004 <action issue="LOG4J2-280" dev="rpopma" type="fix"> 4005 AsyncLogger threads are now daemon threads and won't prevent the JVM from shutting down anymore. 4006 </action> 4007 <action issue="LOG4J2-295" dev="rpopma" type="fix"> 4008 Fast(Rolling)FileAppender now correctly handles messages exceeding the buffer size. 4009 </action> 4010 <action issue="LOG4J2-271" dev="rpopma" type="fix"> 4011 FastRollingFileAppender with TimeBasedTriggeringPolicy now works correctly if append=false. 4012 </action> 4013 <action issue="LOG4J2-267" dev="rpopma" type="fix"> 4014 FastRollingFileAppender with TimeBasedTriggeringPolicy now works correctly if append=false. 4015 </action> 4016 <action issue="LOG4J2-292" dev="rpopma" type="fix"> 4017 Fast(Rolling)FileAppender now correctly appends to (does not overwrite) existing file. 4018 </action> 4019 <action issue="LOG4J2-294" dev="rgoers" type="update"> 4020 LogManager.getLogger can now be called without a logger name or with a null logger name. 4021 </action> 4022 <action issue="LOG4J2-289" dev="rgoers" type="fix"> 4023 Upgrade javadoc plugin to 2.9.1 to fix javadoc security issue. 4024 </action> 4025 <action issue="LOG4J2-288" dev="gregory" type="update"> 4026 Update JUnit to 4.11 from 4.7. 4027 </action> 4028 <action issue="LOG4J2-286" dev="gregory" type="update"> 4029 Update test H2 JDBC driver to 1.172 from 1.171. 4030 </action> 4031 <action issue="LOG4J2-285" dev="gregory" type="update"> 4032 Update Jansi jar to 1.11 from 1.9. 4033 </action> 4034 <action issue="LOG4J2-284" dev="gregory" type="update"> 4035 Update Log4j 1 dependency to 1.2.17 from 1.2.16. 4036 </action> 4037 <action issue="LOG4J2-386" dev="gregory" type="update"> 4038 Update NoSQL dependencies: lightcouch 0.0.6 from 0.0.5, mongodb 2.11.2 from 2.11.1. 4039 </action> 4040 <action issue="LOG4J2-283" dev="gregory" type="update"> 4041 Remove dependency on Apache ORO jar. 4042 </action> 4043 <action issue="LOG4J2-277" dev="gregory" type="update"> 4044 Wasted work in RollingAppenderSizeTest.testAppender() and others. 4045 </action> 4046 <action issue="LOG4J2-139" dev="rgoers" type="fix"> 4047 Fix NullPointerException (regression due to fix for LOG4J2-228) 4048 </action> 4049 <action issue="LOG4J2-168" dev="rgoers" type="update" due-to="Scott Severtson"> 4050 Include arbitrary message fields in RFC-5424 structured data. 4051 </action> 4052 <action issue="LOG4J2-275" dev="rgoers" type="fix"> 4053 FlumeAvroManager fails to notify client of failing event if Flume RPCClient cannot be created. 4054 </action> 4055 <action issue="LOG4J2-274" dev="ggregory" type="update"> 4056 Wasted work in UUIDUtil initialization. 4057 </action> 4058 <action issue="LOG4J2-273" dev="ggregory" type="update"> 4059 Wasted work in XMLLayout.toSerializable(). 4060 </action> 4061 </release> 4062 <release version="2.0-beta7" date="2013-06-01" description="Bug fixes and enhancements"> 4063 <action issue="LOG4J2-249" dev="rgoers" type="update"> 4064 Allow context parameters in Log4jContextListener to include properties. 4065 </action> 4066 <action issue="LOG4J2-263" dev="rgoers" type="fix"> 4067 Do not allow a charset on RFC5424Layout - use UTF-8. 4068 </action> 4069 <action issue="LOG4J2-242" dev="rgoers" type="fix"> 4070 StringFormattedMessage and MessageFormatMessage now will accept a Throwable as their last argument and 4071 pass it on. 4072 </action> 4073 <action issue="LOG4J2-243" dev="rgoers" type="update"> 4074 Allow custom LogEventFactories. 4075 </action> 4076 <action issue="LOG4J2-262" dev="rgoers" type="update" due-to="Edward Sargisson"> 4077 Add support for interceptors in the embedded Flume Appender. 4078 </action> 4079 <action issue="LOG4J2-269" dev="rgoers" type="fix"> 4080 Use transaction when batch size is 1. 4081 </action> 4082 <action issue="LOG4J2-268" dev="rgoers" type="fix"> 4083 Add guid to FlumeEvent headers for non-Map Messages. 4084 </action> 4085 <action issue="LOG4J2-246" dev="rgoers" type="fix"> 4086 Data buffer is reset in finally clause. 4087 </action> 4088 <action issue="LOG4J2-228" dev="rgoers" type="fix"> 4089 UDP now sends one event per packet. 4090 </action> 4091 <action dev="rpopma" type="update"> 4092 Method name changes in interface org.apache.logging.log4j.spi.ThreadContextMap: 4093 getContext() to getCopy(), get() to getImmutableMapOrNull(). 4094 </action> 4095 <action issue="LOG4J2-154" dev="rpopma" type="update"> 4096 Improve ThreadContext performance with copy-on-write map and stack. 4097 </action> 4098 <action issue="LOG4J2-261" dev="rgoers" type="fix" due-to="Edward Sargisson"> 4099 Add missing "not" to error message. 4100 </action> 4101 <action issue="LOG4J2-10" dev="rgoers" type="add" due-to="Timothy Ward"> 4102 Break up core into multiple osgi jars. 4103 </action> 4104 <action issue="LOG4J2-223" dev="rgoers" type="fix"> 4105 Remove LoggerContext when LoggerContext is stopped. 4106 </action> 4107 <action issue="LOG4J2-260" dev="ggregory" type="fix"> 4108 XML layout does not specify charset in content type. 4109 </action> 4110 <action issue="LOG4J2-259" dev="ggregory" type="fix"> 4111 HTML layout does not specify charset in content type. 4112 </action> 4113 <action issue="LOG4J2-258" dev="ggregory" type="fix"> 4114 HTML layout does not output meta element for charset. 4115 </action> 4116 <action issue="LOG4J2-257" dev="ggregory" type="fix"> 4117 XML layout ignores charset for the XML processing instruction's encoding attribute. 4118 </action> 4119 <action issue="LOG4J2-255" dev="rpopma" type="fix"> 4120 Multi-byte character strings are now assumed to be in the platform default encoding, not UTF-8. 4121 </action> 4122 <action issue="LOG4J2-254" dev="rgoers" type="fix"> 4123 Mark OutputStream in OutputStreamManager as volatile. Mark header and footer as final. 4124 </action> 4125 <action issue="LOG4J2-244" dev="rgoers" type="fix"> 4126 Rewrite Appender was ignoring filters on referenced appenders. 4127 </action> 4128 <action issue="LOG4J2-245" dev="rgoers" type="fix"> 4129 Avoid EmptyStack exception if getCallerClass and SecurityManager are not available. 4130 </action> 4131 <action issue="LOG4J2-229" dev="ggregory" type="add" due-to="Nick Williams"> 4132 New JDBC, JPA, and NoSQL database Appenders. 4133 </action> 4134 <action issue="LOG4J2-247" dev="ggregory" type="fix"> 4135 SocketServer.isActive should be volatile because it is accessed from different threads. 4136 </action> 4137 <action issue="LOG4J2-251" dev="sdeboy" type="add"> 4138 Provide configuration information (location, content type, content if possible) via a registered Advertiser. 4139 </action> 4140 </release> 4141 <release version="2.0-beta6" date="2013-05-05" description="Bug fixes and enhancements"> 4142 <action issue="LOG4J2-231" dev="rgoers" type="fix"> 4143 Logger.getParent() was not returning the correct Logger. 4144 </action> 4145 <action issue="LOG4J2-201" dev="rgoers" type="fix"> 4146 Renamed Plugin annotation attribute from "type" to "category". 4147 </action> 4148 <action issue="LOG4J2-237" dev="rpopma" type="update"> 4149 Moved JMX Client GUI classes into separate jmx-gui submodule. 4150 </action> 4151 <action issue="LOG4J2-219" dev="rpopma" type="fix" due-to="Peter DePasquale"> 4152 Fix: install default root logger if not configured (this is unchanged), 4153 but make sure to include configured named loggers. Clarified documentation. 4154 </action> 4155 <action issue="LOG4J2-159" dev="rgoers" type="fix"> 4156 Use OSGi version format in Fragment-Host 4157 </action> 4158 <action issue="LOG4J2-234" dev="rgoers" type="fix"> 4159 RegexFilter threw a NullPointerException when used as a context-wide filter. 4160 </action> 4161 <action issue="LOG4J2-192" dev="rgoers" type="fix"> 4162 Add support for interpolating Environment variables when processing the configuration. 4163 </action> 4164 <action issue="LOG4J2-235" dev="rpopma" type="fix" due-to="Sebastian Oerding"> 4165 Removed dependency on tools jar from core module, made jconsole dependency optional. 4166 </action> 4167 <action issue="LOG4J2-233" dev="rpopma" type="fix"> 4168 Fixed link to log4j-user mailing list. 4169 </action> 4170 <action issue="LOG4J2-230" dev="rpopma" type="update" due-to="Wojciech Zaręba"> 4171 Improved error reporting when misconfigured. 4172 </action> 4173 <action issue="LOG4J2-222" dev="rgoers" type="fix" due-to="Steven Yang"> 4174 Disruptor will now shutdown during Tomcat shutdown. 4175 </action> 4176 <action dev="rpopma" type="update"> 4177 Renamed AsynchAppender to AsyncAppender. Plugin name became Async (was Asynch). 4178 </action> 4179 <action dev="rpopma" type="update"> 4180 Removed CheckStyle false positives for NewlineAtEndOfFile and whitespace following '*' at end of line in javadoc. 4181 </action> 4182 <action dev="rpopma" type="update"> 4183 Moved Clock interface to package org.apache.logging.log4j.core.helpers. 4184 </action> 4185 <action issue="LOG4J2-225" dev="rpopma" type="update"> 4186 Documentation updates to clarify use and impact of location in pattern layouts. 4187 </action> 4188 <action issue="LOG4J2-224" dev="rgoers" type="fix"> 4189 The FlumeAppender failed to start if the Flume RPCClient could not connect to any Flume agents. 4190 </action> 4191 <action issue="LOG4J2-223" dev="rgoers" type="fix"> 4192 Fix LoggerContext start and stop to eliminate IllegalStateException and NoClassDefFound errors. 4193 </action> 4194 <action issue="LOG4J2-221" dev="rgoers" type="fix" due-to="Nick Williams"> 4195 Remove hundreds of compiler warnings. 4196 </action> 4197 <action issue="LOG4J2-215" dev="rpopma" type="fix"> 4198 Various small documentation fixes. 4199 </action> 4200 <action issue="LOG4J2-217" dev="rpopma" type="fix" due-to="Fabien Sanglard"> 4201 Ensure PluginManager streams are always closed. 4202 </action> 4203 </release> 4204 <release version="2.0-beta5" date="2013-04-20" description="Bug fixes and enhancements"> 4205 <action issue="LOG4J2-205" dev="rgoers" type="fix"> 4206 Fix deadlock in SocketAppender. Added option to not wait for socket reconnect. 4207 </action> 4208 <action issue="LOG4J2-207" dev="rgoers" type="add" due-to="Remko Popma"> 4209 Add JMX support. 4210 </action> 4211 <action issue="LOG4J2-211" dev="rgoers" type="fix" due-to="Nick Williams"> 4212 Removing extra spaces in entry and exit method output. 4213 </action> 4214 <action issue="LOG4J2-214" dev="rgoers" type="update" due-to="Remko Popma"> 4215 Async documentation update. 4216 </action> 4217 <action issue="LOG4J2-212" dev="rgoers" type="fix"> 4218 Loggers without a "." had no parent logger. 4219 </action> 4220 <action issue="LOG4J2-208" dev="rgoers" type="update" due-to="Remko Popma"> 4221 Move async subproject into core. 4222 </action> 4223 <action issue="LOG4J2-212" dev="rgoers" type="fix"> 4224 Call LoggerContext.stop when the application is shutdown. 4225 </action> 4226 <action issue="LOG4J2-210" dev="rgoers" type="fix" due-to="Arkin Yetis"> 4227 MapMessage was not enclosing key value in quotes when generating XML. 4228 </action> 4229 <action issue="LOG4J2-198" dev="rgoers" type="fix"> 4230 FlumeAvroManager now uses Flume RPCClient. 4231 </action> 4232 <action issue="LOG4J2-196" dev="rgoers" type="fix"> 4233 FlumeAvroManager now uses Flume RPCClient. 4234 </action> 4235 <action issue="LOG4J2-207" dev="ggregory" type="fix"> 4236 Use the Maven group ID org.apache.logging.log4j for all artifacts. 4237 </action> 4238 <action issue="LOG4J2-187" dev="rgoers" type="add" due-to="Nick Williams"> 4239 Add tag library. 4240 </action> 4241 <action issue="LOG4J2-195" dev="rgoers" type="fix" due-to="Remko Popma"> 4242 Unit tests now create files in the target directory. 4243 </action> 4244 <action issue="LOG4J2-193" dev="rgoers" type="fix" due-to="Remko Popma"> 4245 RollingFastFileAppender (in log4j-async) did not roll over. 4246 </action> 4247 <action issue="LOG4J2-199" dev="rgoers" type="fix" due-to="Remko Popma"> 4248 Highlight subprojects in sub-navigation. 4249 </action> 4250 <action issue="LOG4J2-200" dev="rgoers" type="fix" due-to="Remko Popma"> 4251 LoggerContext method renamed to removeFilter from removeFiler. 4252 </action> 4253 <action issue="LOG4J2-194" dev="rgoers" type="fix" due-to="Remko Popma"> 4254 ThrowableFormatOptionsTest failed on Windows due to CR/LF issue. 4255 </action> 4256 <action issue="LOG4J2-190" dev="rgoers" type="fix" due-to="Werner"> 4257 BaseConfiguration addLoggerAppender saved appender using the Logger name. 4258 </action> 4259 <action issue="LOG4J2-160" dev="rgoers" type="update" due-to="Joanne Polsky"> 4260 Move Throwable pattern converter options processing to ThrowableFormatOptions class. 4261 </action> 4262 <action issue="LOG4J2-157" dev="rgoers" type="update" due-to="Remko Popma"> 4263 Allowed Loggers access to the properties in the LoggerConfig. 4264 </action> 4265 <action issue="LOG4J2-153" dev="rgoers" type="update" due-to="Remko Popma"> 4266 Added ability to include or exclude location information. 4267 </action> 4268 <action issue="LOG4J2-151" dev="rgoers" type="update" due-to="Remko Popma"> 4269 Allow Logger and LoggerContext to be subclassed. 4270 </action> 4271 <action issue="LOG4J2-164" dev="rgoers" type="add" due-to="Remko Popma"> 4272 Add methods is/setEndOfBatch to LogEvent. 4273 </action> 4274 <action issue="LOG4J2-163" dev="rgoers" type="add" due-to="Remko Popma"> 4275 Add support for asynchronous loggers. 4276 </action> 4277 <action issue="LOG4J2-189" dev="rgoers" type="fix" due-to="Werner"> 4278 The blocking parameter did not work properly on AsynchAppender. 4279 </action> 4280 <action issue="LOG4J2-188" dev="rgoers" type="fix" due-to="Werner"> 4281 AppenderRefs on AsynchAppender didn't support the level and filter elements. 4282 </action> 4283 <action issue="LOG4J2-176" dev="rgoers" type="fix" due-to="Remko Popma"> 4284 Avoid IllegalArgumentException in AsynchAppender. 4285 </action> 4286 <action issue="LOG4J2-179" dev="ggregory" type="add"> 4287 Add Logger interface APIs to log at given levels. 4288 </action> 4289 <action issue="LOG4J2-181" dev="rgoers" type="fix"> 4290 OutputStreamManager now adds the layout header whenever the OutputStream is set. 4291 </action> 4292 <action issue="LOG4J2-177" dev="rgoers" type="fix" due-to="Remko Popma"> 4293 Fix NullPointerException in DatagramOutputStream when flush is called from multiple threads. 4294 </action> 4295 <action dev="rgoers" type="add"> 4296 Added FlumePersistentManager which writes to BerkeleyDB and then writes to Flume asynchronously. 4297 </action> 4298 <action issue="LOG4J2-175" dev="sdeboy" type="fix"> 4299 Plugin cache should be reset when addPackages is called. 4300 </action> 4301 <action issue="LOG4J2-155" dev="sdeboy" type="add"> 4302 Expose file appender configuration details via an advertisement mechanism. 4303 </action> 4304 <action issue="LOG4J2-159" dev="rgoers" type="fix" due-to="Jan Winter"> 4305 Add Fragment-Host to MANIFEST.MF for log4j-core. 4306 </action> 4307 <action issue="LOG4J2-167" dev="rgoers" type="fix"> 4308 Configurator throws a ClassCastException if LogManager returns a SimpleLoggerContext. 4309 </action> 4310 <action issue="LOG4J2-169" dev="rgoers" type="fix"> 4311 ConfigurationFactory was adding factories on every call. 4312 </action> 4313 <action issue="LOG4J2-161" dev="rgoers" type="fix"> 4314 Modify ClassLoaderContextSelector to use the first ClassLoader in the child parent hierarchy that 4315 has a Context with a configuration to allow JSPs to use the WebApp's context and configuration. 4316 </action> 4317 <action issue="LOG4J2-158" dev="rgoers" due-to="Scott Severtson"> 4318 Add RFC 5424 compliant escaping rules to RFC5424Layout. 4319 </action> 4320 </release> 4321 <release version="2.0-beta4" date="2013-01-28" description="Bug fixes and enhancements"> 4322 <action issue="LOG4J2-156" dev="ggregory" type="fix" due-to="Andreas Born"> 4323 LocalizedMessageTest fails on linux system. 4324 </action> 4325 <action issue="LOG4J2-152" dev="rgoers" type="fix" due-to="Remko Popma"> 4326 RollingFileAppender's FileRenameAction was throwing a NullPointerException if no directory was specified 4327 on the target file name. 4328 </action> 4329 <action issue="LOG4J2-150" dev="rgoers" type="fix"> 4330 Convert all System.getProperty calls to use PropertiesUtil to suppress SecurityExceptions. 4331 </action> 4332 <action issue="LOG4J2-147" dev="rgoers" type="fix" due-to="William Burns"> 4333 ThreadContextMapFilter was matching on the key instead of the value of the key. 4334 </action> 4335 <action dev="rgoers" type="fix"> 4336 Allow FlumeAvroManager to initialize even if it cannot connect to an agent. 4337 </action> 4338 <action issue="LOG4J2-149" dev="rgoers" type="fix" due-to="Scott Severtson"> 4339 SMTPAppender will only cache filtered events. 4340 </action> 4341 <action issue="LOG4J2-145" dev="ggregory" type="fix"> 4342 Add missing serial version IDs. 4343 </action> 4344 <action issue="LOG4J2-144" dev="ggregory" type="fix"> 4345 NullPointerException in RFC5424Layout. 4346 </action> 4347 <action issue="LOG4J2-143" dev="rgoers" type="fix"> 4348 MessagePatternConverter now returns "null" if the log message is null. 4349 </action> 4350 <action issue="LOG4J2-142" dev="rgoers" type="fix"> 4351 Serialized LogEvents were not reset in the output stream causing them to deserialize incorrectly. 4352 </action> 4353 <action issue="LOG4J2-139" dev="rgoers" type="fix"> 4354 Fix null pointer exception in SocketAppender if no protocol is specified. The protocol will default 4355 to TCP for the SocketAppender and UDP for the SyslogAppender. 4356 </action> 4357 <action dev="rgoers" type="add"> 4358 Added Log4j 2 to SLF4J adapter. 4359 </action> 4360 <action issue="LOG4J2-140" dev="ggregory" type="fix" due-to="Joern Huxhorn"> 4361 Typo in documentation of SocketAppender. 4362 </action> 4363 <action issue="LOG4J2-137" dev="rgoers" type="fix"> 4364 Fix hang in Dumbster SMTP test server. 4365 </action> 4366 <action issue="LOG4J2-136" dev="rgoers" type="update" due-to="Scott Severtson"> 4367 Allow newlines to be escaped in Syslog and RFC5424 layouts. Allow Throwables to be included in 4368 the output from RFC5424Layout. 4369 </action> 4370 <action issue="LOG4J2-131" dev="rgoers" type="add" due-to="Scott Severtson"> 4371 Add SMTPAppender. 4372 </action> 4373 <action issue="LOG4J2-130" dev="rgoers" type="fix"> 4374 PatternLayout should format throwables without requiring a converter. 4375 </action> 4376 <action dev="rgoers" type="add"> 4377 Added hostName and contextName to property map. 4378 </action> 4379 <action issue="LOG4J2-135" dev="ggregory" type="fix" due-to="Ingo Feltes"> 4380 BaseConfiguration does not close the first appender. 4381 </action> 4382 <action dev="rgoers" type="add"> 4383 Add MessageFormatMessage and FormattedMessage. 4384 </action> 4385 <action issue="LOG4J2-134" dev="ggregory" type="add"> 4386 Use %red, %white, %blue, and so on in the console appender. 4387 </action> 4388 <action issue="LOG4J2-133" dev="ggregory" type="add"> 4389 Allow custom message creation via a message factory. 4390 </action> 4391 <action issue="LOG4J2-132" dev="ggregory" type="fix"> 4392 AbstractLogger.catching(Throwable) checks for DEBUG level but logs at ERROR level. 4393 </action> 4394 <action issue="LOG4J2-129" dev="rgoers" type="fix"> 4395 RoutingAppender was only creating a single appender for the default Route. 4396 </action> 4397 <action issue="LOG4J2-126" dev="rgoers" type="fix"> 4398 Allow JMS appenders to recover if the queue or topic is unavailable. 4399 </action> 4400 <action issue="LOG4J2-128" dev="rgoers" type="update"> 4401 Add follow attribute to Console Appender. 4402 </action> 4403 <action issue="LOG4J2-127" dev="rgoers" type="fix"> 4404 AbstractLogger methods were not passing Markers to the isEnabled methods. 4405 </action> 4406 <action dev="rgoers" type="add"> 4407 Added Flume Appender samples. 4408 </action> 4409 <action issue="LOG4J2-122" dev="rgoers" type="update"> 4410 Add unit test to verify exceptions are thrown when the socket connection fails. 4411 </action> 4412 <action issue="LOG4J2-125" dev="rgoers" type="fix"> 4413 JMSQueue and JMSTopic Appenders did not allow name to be specified. 4414 </action> 4415 <action issue="LOG4J2-111" dev="rgoers" type="fix"> 4416 Enhanced javadoc copyright statement. 4417 </action> 4418 <action issue="LOG4J2-110" dev="rgoers" type="update"> 4419 Renamed log4j12-api to log4j-1.2-api. 4420 </action> 4421 <action issue="LOG4J2-120" dev="rgoers" type="fix"> 4422 TCPSocketManager would fail if the initial connection could not be established. 4423 </action> 4424 <action issue="LOG4J2-119" dev="rgoers" type="fix"> 4425 A broken socket connection would cause the TCPSocketManager to continuously reconnect. 4426 </action> 4427 <action issue="LOG4J2-123" dev="rgoers" type="fix" due-to="Olivier Lamy"> 4428 The example for ThreadContextMapFilter was incorrect. 4429 </action> 4430 <action issue="LOG4J2-116" dev="rgoers" type="fix"> 4431 File renaming was using the wrong date value. Enhanced DefaultRolloverStrategy to store newest files in 4432 highest index as well as lowest. 4433 </action> 4434 <action issue="LOG4J2-115" dev="rgoers" type="fix"> 4435 ThreadContext Map elements with null values are now ignored when constructing a Flume event and in the 4436 RFC5424 Layout. 4437 </action> 4438 <action issue="LOG4J2-113" dev="rgoers" type="fix"> 4439 StructuredDataFilter createFilter was annotated with PluginAttr instead of PluginElement for the 4440 KeyValuePairs. 4441 </action> 4442 <action issue="LOG4J2-114" dev="rgoers" type="fix" due-to="Arkin Yetis"> 4443 StructuredDataMessage was validating the length of the values in the event Map instead of the lengths 4444 of the keys. 4445 </action> 4446 </release> 4447 <release version="2.0-beta3" date="2012-11-11" description= "Bug fixes and enhancements"> 4448 <action issue="LOG4J2-108" dev="rgoers" type="fix"> 4449 Fix NullPointerException in ClassLoaderContextSelector when no class is returned from 4450 the SecurityManager. 4451 </action> 4452 <action issue="LOG4J2-105" dev="rgoers" type="update"> 4453 Add ability to customize the names of the Levels in the LevelPatternConverter. 4454 </action> 4455 <action issue="LOG4J2-107" dev="rgoers" type="fix"> 4456 PatternParser was not properly handling adjacent nested options 4457 </action> 4458 <action issue="LOG4J2-95" dev="rgoers" type="fix"> 4459 Add support for loading plugins inside the OSGi bundle. 4460 </action> 4461 <action issue="LOG4J2-85" dev="rgoers" type="update"> 4462 Add ThreadContext.push(String format, Object... args) 4463 </action> 4464 <action issue="LOG4J2-103" dev="rgoers" type="fix" due-to="Das Archive"> 4465 The LogEvent was wrapping a ThrowableProxy with another ThrowableProxy when deserializing. 4466 </action> 4467 <action dev="rgoers" type="update"> 4468 Created combined jar to combine API and Core contents for users who only want the Log4j implementation. 4469 </action> 4470 <action issue="LOG4J2-104" dev="rgoers" type="fix"> 4471 Convert LogManager binding to use "regular" java properties instead of XML properties to workaround a 4472 bug in Oracle's xmlparserv2 jar. 4473 </action> 4474 <action issue="LOG4J2-28" dev="rgoers" type="add"> 4475 Added PropertiesRewritePolicy and ability to define properties on a Logger. 4476 </action> 4477 <action issue="LOG4J2-87" dev="rgoers" type="update"> 4478 Build pdf of user's guide. 4479 </action> 4480 <action issue="LOG4J2-29" dev="rgoers" type="update"> 4481 Added font and fontSize parameters to HTMLLayout. Replace newlines in message with br tag. 4482 </action> 4483 <action issue="LOG4J2-55" dev="rgoers" type="add"> 4484 Added ability to configure from an InputSource. 4485 </action> 4486 <action issue="LOG4J2-102" dev="rgoers" type="fix" due-to="Emanuele Colombo"> 4487 The Facility value was being improperly calculated. 4488 </action> 4489 <action issue="LOG4J2-101" dev="rgoers" type="fix" due-to="Emanuele Colombo"> 4490 A NullPointerException would occur if no format value was passed to the SyslogAppender. 4491 </action> 4492 <action issue="LOG4J2-99" dev="rgoers" type="fix" due-to="Das Archive"> 4493 MapRewritePolicy had an extra call to putAll that caused updates to behave like adds. 4494 </action> 4495 <action dev="rgoers" type="fix"> 4496 Avoid NPE when duplicate LoggerContextFactorys are present. Allow factories to specify a weight to allow 4497 real implementations to outrank test implementations. Provide a simple default LoggerContextFactory. 4498 </action> 4499 <action issue="LOG4J2-97" dev="rgoers" type="fix"> 4500 Added several missing classes and methods for Log4j 1.x compatibility. 4501 </action> 4502 <action issue="LOG4J2-94" dev="rgoers" type="fix" due-to="Denis Treskunov"> 4503 Interpolator was not stripping Lookup key separator when trying to locate the default value for a variable. 4504 </action> 4505 <action dev="rgoers" type="fix"> 4506 Log4j 1.2 Category.forcedLog was wrapping the message with an ObjectMessage even if the parameter was an 4507 ObjectMessage. 4508 </action> 4509 </release> 4510 <release version="2.0-beta2" date="2012-10-07" description="Bug fixes and enhancements"> 4511 <action dev="rgoers" type="update"> 4512 Made ParameterizedMessage, StringFormattedMessage and ThreadDumpMessage immutable. LocalizedMessage is 4513 immutable except that it will be updated with the logger name when it is added to the LogEvent. 4514 </action> 4515 <action dev="rgoers" type="fix"> 4516 DefaultConfiguration was not starting the Console Appender. 4517 </action> 4518 <action issue="LOG4J2-35" dev="rgoers" type="add"> 4519 Add interval and modulate options to TimeBasedTriggeringPolicy to allow more fine-grained control of 4520 when file rolling should occur. 4521 </action> 4522 <action issue="LOG4J2-58" dev="rgoers" type="add"> 4523 Add support for filtering packages from stack traces. 4524 </action> 4525 <action issue="LOG4J2-84" dev="rgoers" type="add"> 4526 If system property "disableThreadContextStack" is set pushes to the ThreadContext will be ignored. If 4527 system property "disableThreadContext" is set both puts and pushes will be ignored. 4528 </action> 4529 <action issue="LOG4J2-83" dev="rgoers" type="add"> 4530 If system property "disableThreadContextMap" is set puts to the ThreadContext will be ignored. If 4531 system property "disableThreadContext" is set both puts and pushes will be ignored. 4532 </action> 4533 <action dev="rgoers" type="add"> 4534 Add support for ANSI colors by adding the highlight and style pattern converters. Fix pattern 4535 parsing to allow nested patterns. 4536 </action> 4537 <action issue="LOG4J2-92" dev="rgoers" type="fix"> 4538 Converted DynamicThresholdFilter to use KeyValuePair. Fixed bugs in the Map-based filters 4539 to allow declaration of multiple values for a key to match the documentation. 4540 </action> 4541 <action issue="LOG4J2-88" dev="rgoers" type="fix"> 4542 Many logging methods in AbstractLogger were set to an incorrect logging level. catching was 4543 using the THROWING marker and was set to debug instead of error. 4544 </action> 4545 <action dev="rgoers" type="add"> 4546 Allow the status logging to be directed to stderr or to a file. 4547 </action> 4548 <action issue="LOG4J2-91" dev="rgoers" type="fix"> 4549 Log4j 1.2 adapter's Category class was missing 3 log methods. 4550 </action> 4551 <action issue="LOG4J2-84" dev="rgoers" type="fix"> 4552 If the ThreadContext stack is empty the LogEvent will contain a null value to reduce the overhead of 4553 creating log events and in the size of the serialized object. Changed the ThreadContext stack to use 4554 a custom stack interface instead of java.util.Stack as that class is overly heavy. This change will 4555 cause an API incompatibility. 4556 </action> 4557 <action issue="LOG4J2-83" dev="rgoers" type="fix"> 4558 If the ThreadContext map is empty the LogEvent will contain a null value to reduce the overhead of creating 4559 log events and in the size of the serialized object. 4560 </action> 4561 <action dev="rgoers" type="add"> <