Skip to content

Commit 7f8a664

Browse files
committed
Add auto-generated content
1 parent 80c37ae commit 7f8a664

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4659
-0
lines changed

src/site/_release-notes.adoc

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
////
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
////
17+
18+
= Release Notes
19+
20+
* xref:2.x.x.adoc[2.x.x]
21+
* xref:2.20.0.adoc[2.20.0] (2023-02-17)
22+
* xref:2.19.0.adoc[2.19.0] (2022-09-09)
23+
* xref:2.18.0.adoc[2.18.0] (2022-06-28)
24+
* xref:2.17.2.adoc[2.17.2] (2022-02-23)
25+
* xref:2.17.1.adoc[2.17.1] (2021-12-27)
26+
* xref:2.17.0.adoc[2.17.0] (2021-12-17)
27+
* xref:2.16.0.adoc[2.16.0] (2021-12-13)
28+
* xref:2.15.0.adoc[2.15.0] (2021-12-06)
29+
* xref:2.14.1.adoc[2.14.1] (2021-03-06)
30+
* xref:2.14.0.adoc[2.14.0] (2020-11-06)
31+
* xref:2.13.3.adoc[2.13.3] (2020-05-10)
32+
* xref:2.13.2.adoc[2.13.2] (2020-04-23)
33+
* xref:2.13.1.adoc[2.13.1] (2020-02-25)
34+
* xref:2.13.0.adoc[2.13.0] (2019-12-11)
35+
* xref:2.12.1.adoc[2.12.1] (2019-08-06)
36+
* xref:2.12.0.adoc[2.12.0] (2019-06-23)
37+
* xref:2.11.2.adoc[2.11.2] (2019-02-04)
38+
* xref:2.11.1.adoc[2.11.1] (2018-07-22)
39+
* xref:2.11.0.adoc[2.11.0] (2018-03-11)
40+
* xref:2.10.0.adoc[2.10.0] (2017-11-18)
41+
* xref:2.9.1.adoc[2.9.1] (2017-09-17)
42+
* xref:2.9.0.adoc[2.9.0] (2017-08-26)
43+
* xref:2.8.2.adoc[2.8.2] (2017-04-02)
44+
* xref:2.8.1.adoc[2.8.1] (2017-02-26)
45+
* xref:2.8.adoc[2.8] (2017-01-21)
46+
* xref:2.7.adoc[2.7] (2016-10-02)
47+
* xref:2.6.2.adoc[2.6.2] (2016-07-05)
48+
* xref:2.6.1.adoc[2.6.1] (2016-06-05)
49+
* xref:2.6.adoc[2.6] (2016-05-25)
50+
* xref:2.5.adoc[2.5] (2015-12-06)
51+
* xref:2.4.1.adoc[2.4.1] (2015-10-08)
52+
* xref:2.4.adoc[2.4] (2015-09-20)
53+
* xref:2.3.adoc[2.3] (2015-05-09)
54+
* xref:2.2.adoc[2.2] (2015-02-22)
55+
* xref:2.1.adoc[2.1] (2014-10-19)
56+
* xref:2.0.2.adoc[2.0.2] (2014-08-16)
57+
* xref:2.0.1.adoc[2.0.1] (2014-07-29)
58+
* xref:2.0.adoc[2.0] (2014-07-12)
59+
* xref:2.0-rc2.adoc[2.0-rc2] (2014-06-21)
60+
* xref:2.0-rc1.adoc[2.0-rc1] (2014-02-16)
61+
* xref:2.0-beta9.adoc[2.0-beta9] (2013-09-14)
62+
* xref:2.0-beta8.adoc[2.0-beta8] (2013-07-10)
63+
* xref:2.0-beta7.adoc[2.0-beta7] (2013-06-01)
64+
* xref:2.0-beta6.adoc[2.0-beta6] (2013-05-05)
65+
* xref:2.0-beta5.adoc[2.0-beta5] (2013-04-20)
66+
* xref:2.0-beta4.adoc[2.0-beta4] (2013-01-28)
67+
* xref:2.0-beta3.adoc[2.0-beta3] (2012-11-11)
68+
* xref:2.0-beta2.adoc[2.0-beta2] (2012-10-07)
69+
* xref:2.0-beta1.adoc[2.0-beta1] (2012-09-18)
70+
* xref:2.0-alpha2.adoc[2.0-alpha2] (2012-08-24)
71+
* xref:2.0-alpha1.adoc[2.0-alpha1] (2012-07-29)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
////
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
////
17+
18+
= 2.0-alpha1 (2012-07-29)
19+
20+
== Changes
21+
22+
=== Added
23+
24+
* Added ability to filter on the AppenderRef by adding either a level or a filter. (for https://issues.apache.org/jira/browse/LOG4J2-60[LOG4J2-60] by Ralph Goers, Shane Kelly)
25+
26+
=== Fixed
27+
28+
* Make sure all application facing log methods use their own FQCN. This patch resolves a unit test failure for the %C pattern when using the Category logger. (for https://issues.apache.org/jira/browse/LOG4J2-50[LOG4J2-50] by Ralph Goers, John Vasileff)
29+
* Remove LoggerContext support for custom logger factories. All Loggers returned by LoggerContext should be compatible and of the same type. (for https://issues.apache.org/jira/browse/LOG4J2-51[LOG4J2-51] by Ralph Goers, John Vasileff)
30+
* Level.toLevel would throw an IllegalArgumentException instead of returning the default value. (for https://issues.apache.org/jira/browse/LOG4J2-56[LOG4J2-56] by Ralph Goers, John Owen Atala)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
////
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
////
17+
18+
= 2.0-alpha2 (2012-08-24)
19+
20+
== Changes
21+
22+
=== Added
23+
24+
* Allow components besides core to create a PluginMap for faster plugin loading and not having to specify the plugin package in the configuration. (for https://issues.apache.org/jira/browse/LOG4J2-67[LOG4J2-67] by Ralph Goers)
25+
* Add support for formatting using String.format(). (for https://issues.apache.org/jira/browse/LOG4J2-68[LOG4J2-68] by Ralph Goers)
26+
* Allow Flume agents to be embedded into the Flume Appender. (for https://issues.apache.org/jira/browse/LOG4J2-69[LOG4J2-69] by Ralph Goers)
27+
* Add getLogger(Class) to LogManager. (for https://issues.apache.org/jira/browse/LOG4J2-70[LOG4J2-70] by Ralph Goers)
28+
29+
=== Fixed
30+
31+
* Fix compilation problems in Java 7. (for https://issues.apache.org/jira/browse/LOG4J2-64[LOG4J2-64] by Ralph Goers)
32+
* Allow variable substitution on the configuration attributes and on the root log level. (for https://issues.apache.org/jira/browse/LOG4J2-65[LOG4J2-65] by Ralph Goers)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
////
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
////
17+
18+
= 2.0-beta1 (2012-09-18)
19+
20+
== Changes
21+
22+
=== Added
23+
24+
* Added AsynchAppender. (for by Ralph Goers)
25+
26+
=== Changed
27+
28+
* Update the versions of SLF4J and Logback. (for by Ralph Goers)
29+
30+
=== Fixed
31+
32+
* Created web module to allow web applications to include the Log4j context listener in WEB-INF/lib even if Log4j is in the container's class path. Allow locating the LoggerContext to include the ClassLoader. Updated the Loader utility to always choose the child ClassLoader. Verified in Jboss 5 and Tomcat. (for by Ralph Goers)
33+
* FileRenameAction did not create the parent directories of the archive files causing the rollover to fail. (for https://issues.apache.org/jira/browse/LOG4J2-71[LOG4J2-71] by Ralph Goers)
34+
* NullPointerException in RollingFileManager when filePattern does not cause the file to be compressed. (for https://issues.apache.org/jira/browse/LOG4J2-72[LOG4J2-72] by Ralph Goers)
35+
* Logger.error(Marker, Message, Throwable) was internally using Level.TRACE. (for https://issues.apache.org/jira/browse/LOG4J2-74[LOG4J2-74] by Ralph Goers)
36+
* Enhanced Log4jContextListener to accept a configuration file location. Modified FileConfigurationMonitor to monitor files configured that way. Fixed other reconfiguration related bugs. Tested in JBoss and Tomcat. (for https://issues.apache.org/jira/browse/LOG4J2-75[LOG4J2-75] by Ralph Goers)
37+
* RewriteAppender was calling the stop method of the referenced appender causing the referenced appender's manager to have its use count decremented too many times. (for https://issues.apache.org/jira/browse/LOG4J2-76[LOG4J2-76] by Ralph Goers)
38+
* RoutingAppender was calling the stop method for each of its referenced Appenders and was calling the stop method of the default Appender a second time. It will now only call the stop method of Appenders it creates. (for https://issues.apache.org/jira/browse/LOG4J2-77[LOG4J2-77] by Ralph Goers)
39+
* LogFactoryImpl.setAttribute in the Commons Logging bridge got a NullPointerException when passed a null value. It will now remove the attribute. (for https://issues.apache.org/jira/browse/LOG4J2-78[LOG4J2-78] by Ralph Goers)
40+
* Allow Log4j 2 to be used as the implementation with SLF4J and SLF4J's jcl-over-slf4j by adding filtering to the log method in SLF4JLogger. (for https://issues.apache.org/jira/browse/LOG4J2-80[LOG4J2-80] by Ralph Goers, Oliver Lamy)
41+
* PatternLayout was not honoring format modifiers. (for https://issues.apache.org/jira/browse/LOG4J2-81[LOG4J2-81] by Ralph Goers)
42+
* MarkerFilter called MarkerManager.getMarker causing the Marker to be created during the processing of the configuration. This prevents the application from creating the Marker with any parents. MarkerWrapper in SLF4J-impl was getting a ClassCastException in instanceOf because the Marker isn't a MarkerWrapper. (for https://issues.apache.org/jira/browse/LOG4J2-82[LOG4J2-82] by Ralph Goers)
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
////
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
////
17+
18+
= 2.0-beta2 (2012-10-07)
19+
20+
== Changes
21+
22+
=== Added
23+
24+
* Add getFormats to MultiformatMessage and allow StructuredDataMessage to format as XML. (for by Ralph Goers)
25+
* Add support for ANSI colors by adding the highlight and style pattern converters. Fix pattern parsing to allow nested patterns. (for by Ralph Goers)
26+
* Allow the status logging to be directed to stderr or to a file. (for by Ralph Goers)
27+
* Add interval and modulate options to TimeBasedTriggeringPolicy to allow more fine-grained control of when file rolling should occur. (for https://issues.apache.org/jira/browse/LOG4J2-35[LOG4J2-35] by Ralph Goers)
28+
* Add support for filtering packages from stack traces. (for https://issues.apache.org/jira/browse/LOG4J2-58[LOG4J2-58] by Ralph Goers)
29+
* If system property "disableThreadContextMap" is set puts to the ThreadContext will be ignored. If system property "disableThreadContext" is set both puts and pushes will be ignored. (for https://issues.apache.org/jira/browse/LOG4J2-83[LOG4J2-83] by Ralph Goers)
30+
* If system property "disableThreadContextStack" is set pushes to the ThreadContext will be ignored. If system property "disableThreadContext" is set both puts and pushes will be ignored. (for https://issues.apache.org/jira/browse/LOG4J2-84[LOG4J2-84] by Ralph Goers)
31+
32+
=== Changed
33+
34+
* Made ParameterizedMessage, StringFormattedMessage and ThreadDumpMessage immutable. LocalizedMessage is immutable except that it will be updated with the logger name when it is added to the LogEvent. (for by Ralph Goers)
35+
36+
=== Fixed
37+
38+
* DefaultConfiguration was not starting the Console Appender. (for by Ralph Goers)
39+
* If the ThreadContext map is empty the LogEvent will contain a null value to reduce the overhead of creating log events and in the size of the serialized object. (for https://issues.apache.org/jira/browse/LOG4J2-83[LOG4J2-83] by Ralph Goers)
40+
* If the ThreadContext stack is empty the LogEvent will contain a null value to reduce the overhead of creating log events and in the size of the serialized object. Changed the ThreadContext stack to use a custom stack interface instead of java.util.Stack as that class is overly heavy. This change will cause an API incompatibility. (for https://issues.apache.org/jira/browse/LOG4J2-84[LOG4J2-84] by Ralph Goers)
41+
* Many logging methods in AbstractLogger were set to an incorrect logging level. catching was using the THROWING marker and was set to debug instead of error. (for https://issues.apache.org/jira/browse/LOG4J2-88[LOG4J2-88] by Ralph Goers)
42+
* Add documentation on client vs server mode to performance page. (for https://issues.apache.org/jira/browse/LOG4J2-90[LOG4J2-90] by Ralph Goers)
43+
* Log4j 1.2 adapter's Category class was missing 3 log methods. (for https://issues.apache.org/jira/browse/LOG4J2-91[LOG4J2-91] by Ralph Goers)
44+
* Converted DynamicThresholdFilter to use KeyValuePair. Fixed bugs in the Map-based filters to allow declaration of multiple values for a key to match the documentation. (for https://issues.apache.org/jira/browse/LOG4J2-92[LOG4J2-92] by Ralph Goers)
45+
* Move variable substitution from PatternLayout to appropriate converters to improve performance. (for by Ralph Goers)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
////
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
////
17+
18+
= 2.0-beta3 (2012-11-11)
19+
20+
== Changes
21+
22+
=== Added
23+
24+
* Added PropertiesRewritePolicy and ability to define properties on a Logger. (for https://issues.apache.org/jira/browse/LOG4J2-28[LOG4J2-28] by Ralph Goers)
25+
* Added ability to configure from an InputSource. (for https://issues.apache.org/jira/browse/LOG4J2-55[LOG4J2-55] by Ralph Goers)
26+
27+
=== Changed
28+
29+
* Created combined jar to combine API and Core contents for users who only want the Log4j implementation. (for by Ralph Goers)
30+
* Add ability to customize the names of the Levels in the LevelPatternConverter. (for https://issues.apache.org/jira/browse/LOG4J2-105[LOG4J2-105] by Ralph Goers)
31+
* Added font and fontSize parameters to HTMLLayout. Replace newlines in message with br tag. (for https://issues.apache.org/jira/browse/LOG4J2-29[LOG4J2-29] by Ralph Goers)
32+
* Add ThreadContext.push(String format, Object... args) (for https://issues.apache.org/jira/browse/LOG4J2-85[LOG4J2-85] by Ralph Goers)
33+
* Build pdf of user's guide. (for https://issues.apache.org/jira/browse/LOG4J2-87[LOG4J2-87] by Ralph Goers)
34+
35+
=== Fixed
36+
37+
* Avoid NPE when duplicate LoggerContextFactorys are present. Allow factories to specify a weight to allow real implementations to outrank test implementations. Provide a simple default LoggerContextFactory. (for by Ralph Goers)
38+
* A NullPointerException would occur if no format value was passed to the SyslogAppender. (for https://issues.apache.org/jira/browse/LOG4J2-101[LOG4J2-101] by Ralph Goers, Emanuele Colombo)
39+
* The Facility value was being improperly calculated. (for https://issues.apache.org/jira/browse/LOG4J2-102[LOG4J2-102] by Ralph Goers, Emanuele Colombo)
40+
* The LogEvent was wrapping a ThrowableProxy with another ThrowableProxy when deserializing. (for https://issues.apache.org/jira/browse/LOG4J2-103[LOG4J2-103] by Ralph Goers, Das Archive)
41+
* Convert LogManager binding to use "regular" java properties instead of XML properties to work around a bug in Oracle's xmlparserv2 jar. (for https://issues.apache.org/jira/browse/LOG4J2-104[LOG4J2-104] by Ralph Goers)
42+
* PatternParser was not properly handling adjacent nested options (for https://issues.apache.org/jira/browse/LOG4J2-107[LOG4J2-107] by Ralph Goers)
43+
* Fix NullPointerException in ClassLoaderContextSelector when no class is returned from the SecurityManager. (for https://issues.apache.org/jira/browse/LOG4J2-108[LOG4J2-108] by Ralph Goers)
44+
* Interpolator was not stripping Lookup key separator when trying to locate the default value for a variable. (for https://issues.apache.org/jira/browse/LOG4J2-94[LOG4J2-94] by Ralph Goers, Denis Treskunov)
45+
* Add support for loading plugins inside the OSGi bundle. (for https://issues.apache.org/jira/browse/LOG4J2-95[LOG4J2-95] by Ralph Goers)
46+
* Added several missing classes and methods for Log4j 1.x compatibility. (for https://issues.apache.org/jira/browse/LOG4J2-97[LOG4J2-97] by Ralph Goers)
47+
* MapRewritePolicy had an extra call to putAll that caused updates to behave like adds. (for https://issues.apache.org/jira/browse/LOG4J2-99[LOG4J2-99] by Ralph Goers, Das Archive)
48+
* Log4j 1.2 Category.forcedLog was wrapping the message with an ObjectMessage even if the parameter was an ObjectMessage. (for by Ralph Goers)

0 commit comments

Comments
 (0)