-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move configuration format converter from log4j-1.2-api
#93
base: main
Are you sure you want to change the base?
Commits on Apr 1, 2024
-
git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1241269 13f79535-47bb-0310-9956-ffa450edef68
Configuration menu - View commit details
-
Copy full SHA for b706c31 - Browse repository at this point
Copy the full SHA b706c31View commit details -
[LOG4J2-63] Support configuration from version 1.x log4j.properties. A
start, with the ConsoleAppender.
Configuration menu - View commit details
-
Copy full SHA for 00ff9c3 - Browse repository at this point
Copy the full SHA 00ff9c3View commit details -
[LOG4J2-63] Support configuration from version 1.x log4j.properties.
Partial support for XML and HTML layouts (defaults only).
Configuration menu - View commit details
-
Copy full SHA for 7993d6b - Browse repository at this point
Copy the full SHA 7993d6bView commit details -
[LOG4J2-63] Support configuration from version 1.x log4j.properties.
Partial support for TTCC layout (defaults only).
Configuration menu - View commit details
-
Copy full SHA for 31de8a2 - Browse repository at this point
Copy the full SHA 31de8a2View commit details -
[LOG4J2-63] Support configuration from version 1.x log4j.properties.
Partial support for EnhancedPatternLayout (defaults only).
Configuration menu - View commit details
-
Copy full SHA for 49c625e - Browse repository at this point
Copy the full SHA 49c625eView commit details -
[LOG4J2-63] Support configuration from version 1.x log4j.properties.
Complete TTCC layout.
Configuration menu - View commit details
-
Copy full SHA for 46e6554 - Browse repository at this point
Copy the full SHA 46e6554View commit details -
Configuration menu - View commit details
-
Copy full SHA for d32aee1 - Browse repository at this point
Copy the full SHA d32aee1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68bae46 - Browse repository at this point
Copy the full SHA 68bae46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f49b54 - Browse repository at this point
Copy the full SHA 2f49b54View commit details -
Configuration menu - View commit details
-
Copy full SHA for c28ad40 - Browse repository at this point
Copy the full SHA c28ad40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 930ae56 - Browse repository at this point
Copy the full SHA 930ae56View commit details -
Configuration menu - View commit details
-
Copy full SHA for a567360 - Browse repository at this point
Copy the full SHA a567360View commit details -
Configuration menu - View commit details
-
Copy full SHA for 087fd9e - Browse repository at this point
Copy the full SHA 087fd9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42fe672 - Browse repository at this point
Copy the full SHA 42fe672View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d5a412 - Browse repository at this point
Copy the full SHA 2d5a412View commit details -
Configuration menu - View commit details
-
Copy full SHA for be09fdb - Browse repository at this point
Copy the full SHA be09fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cb262a - Browse repository at this point
Copy the full SHA 7cb262aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d54e9c4 - Browse repository at this point
Copy the full SHA d54e9c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d4e01a - Browse repository at this point
Copy the full SHA 5d4e01aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db69ac - Browse repository at this point
Copy the full SHA 6db69acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58f0370 - Browse repository at this point
Copy the full SHA 58f0370View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb98dcb - Browse repository at this point
Copy the full SHA fb98dcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8727a32 - Browse repository at this point
Copy the full SHA 8727a32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5699c11 - Browse repository at this point
Copy the full SHA 5699c11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41efb61 - Browse repository at this point
Copy the full SHA 41efb61View commit details -
First commit for branch for [LOG4J2-1547]
The Core AbstractConfiguration should track its LoggerContext.
Configuration menu - View commit details
-
Copy full SHA for fdd9790 - Browse repository at this point
Copy the full SHA fdd9790View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03a5a9e - Browse repository at this point
Copy the full SHA 03a5a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a66429d - Browse repository at this point
Copy the full SHA a66429dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54bd048 - Browse repository at this point
Copy the full SHA 54bd048View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a20761 - Browse repository at this point
Copy the full SHA 1a20761View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d2caf0 - Browse repository at this point
Copy the full SHA 4d2caf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 016e894 - Browse repository at this point
Copy the full SHA 016e894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 844685d - Browse repository at this point
Copy the full SHA 844685dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2eed9f - Browse repository at this point
Copy the full SHA d2eed9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3443076 - Browse repository at this point
Copy the full SHA 3443076View commit details -
Configuration menu - View commit details
-
Copy full SHA for c798399 - Browse repository at this point
Copy the full SHA c798399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71136da - Browse repository at this point
Copy the full SHA 71136daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7267de2 - Browse repository at this point
Copy the full SHA 7267de2View commit details -
[LOG4J2-1523] Log4j 1 appenders. Classic RollingFileAppender with
property substitutions.
Configuration menu - View commit details
-
Copy full SHA for cd70374 - Browse repository at this point
Copy the full SHA cd70374View commit details -
[LOG4J2-1523] Log4j 1 appenders. Classic RollingFileAppender with
property substitutions.
Configuration menu - View commit details
-
Copy full SHA for e939f8e - Browse repository at this point
Copy the full SHA e939f8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f8077a - Browse repository at this point
Copy the full SHA 8f8077aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc325d2 - Browse repository at this point
Copy the full SHA fc325d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a7d5b4 - Browse repository at this point
Copy the full SHA 4a7d5b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ff8310 - Browse repository at this point
Copy the full SHA 2ff8310View commit details -
Beef up Log4j 1.2 to 2 convertion utility. The new test makes it easy to
see what we cannot convert yet (at least what the converter blows up on).
Configuration menu - View commit details
-
Copy full SHA for 6dc903e - Browse repository at this point
Copy the full SHA 6dc903eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2812b9 - Browse repository at this point
Copy the full SHA d2812b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e902fb9 - Browse repository at this point
Copy the full SHA e902fb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f53c1c3 - Browse repository at this point
Copy the full SHA f53c1c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85ec8b8 - Browse repository at this point
Copy the full SHA 85ec8b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad622af - Browse repository at this point
Copy the full SHA ad622afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f6cb0c - Browse repository at this point
Copy the full SHA 3f6cb0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6be905c - Browse repository at this point
Copy the full SHA 6be905cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e83773 - Browse repository at this point
Copy the full SHA 8e83773View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1c2cb7 - Browse repository at this point
Copy the full SHA c1c2cb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6f7de2 - Browse repository at this point
Copy the full SHA b6f7de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93b56a0 - Browse repository at this point
Copy the full SHA 93b56a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0be54ee - Browse repository at this point
Copy the full SHA 0be54eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd99435 - Browse repository at this point
Copy the full SHA cd99435View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3a9fe5 - Browse repository at this point
Copy the full SHA e3a9fe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58974f6 - Browse repository at this point
Copy the full SHA 58974f6View commit details -
LOG4J2-2011 replace JCommander command line parser with picocli to le…
…t users run Log4j2 utility applications without requiring an external dependency
Configuration menu - View commit details
-
Copy full SHA for 8899cc7 - Browse repository at this point
Copy the full SHA 8899cc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0341e79 - Browse repository at this point
Copy the full SHA 0341e79View commit details -
[LOG4J2-3014] Log4j1ConfigurationConverter on Windows produces "
"
at end of every line.
Configuration menu - View commit details
-
Copy full SHA for 8690b90 - Browse repository at this point
Copy the full SHA 8690b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for b94517c - Browse repository at this point
Copy the full SHA b94517cView commit details -
Configuration menu - View commit details
-
Copy full SHA for af69703 - Browse repository at this point
Copy the full SHA af69703View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3af65c7 - Browse repository at this point
Copy the full SHA 3af65c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a196fcc - Browse repository at this point
Copy the full SHA a196fccView commit details -
Adds support for missing Log4j 1.x properties and fixes default value…
…s (#737) * Fixes default Log4j 1.x values The properties of the generated appenders are not always the same as it was in Log4j 1.x. * Fixes NoSuchFieldError Adapts `getAppendProperty` to different Java versions. * Fixes whitespace problems Conflicts: log4j-1.2-api/src/main/java/org/apache/log4j/builders/appender/ConsoleAppenderBuilder.java log4j-1.2-api/src/main/java/org/apache/log4j/builders/appender/DailyRollingFileAppenderBuilder.java log4j-1.2-api/src/main/java/org/apache/log4j/builders/appender/FileAppenderBuilder.java log4j-1.2-api/src/main/java/org/apache/log4j/builders/appender/RollingFileAppenderBuilder.java log4j-1.2-api/src/main/java/org/apache/log4j/builders/layout/HtmlLayoutBuilder.java log4j-1.2-api/src/test/java/org/apache/log4j/config/PropertiesConfigurationTest.java
Configuration menu - View commit details
-
Copy full SHA for 5342191 - Browse repository at this point
Copy the full SHA 5342191View commit details -
Configuration menu - View commit details
-
Copy full SHA for c255b12 - Browse repository at this point
Copy the full SHA c255b12View commit details -
Allow for whitespace in property files.
Tests are from PR #762 by ppkarwasz. Conflicts: log4j-1.2-api/src/main/java/org/apache/log4j/builders/BuilderManager.java log4j-1.2-api/src/test/java/org/apache/log4j/config/Log4j1ConfigurationFactoryTest.java log4j-1.2-api/src/test/java/org/apache/log4j/config/PropertiesConfigurationTest.java
Configuration menu - View commit details
-
Copy full SHA for cf8bc91 - Browse repository at this point
Copy the full SHA cf8bc91View commit details -
Adds Log4j 1.x global threshold (#764)
The `log4j.threshold` configuration key was not translated into its Log4j 2.x equivalent global filter. Conflicts: log4j-1.2-api/src/main/java/org/apache/log4j/xml/XmlConfiguration.java
Configuration menu - View commit details
-
Copy full SHA for 8f138d6 - Browse repository at this point
Copy the full SHA 8f138d6View commit details -
final
synchronization with 2.17.2Synchronizes `log4j-1.2-api` main source with version 2.17.2. It mainly consists of: * formatting, * `final` modifiers, * the removal of the deprecated `Holder` class.
Configuration menu - View commit details
-
Copy full SHA for 45a0b60 - Browse repository at this point
Copy the full SHA 45a0b60View commit details -
[LOG4J2-3419] Add a Log4j 1.x level name pattern converter
When custom levels are in play the names of Log4j 1.x custom levels (which are not unique) and those of Log4j 2.x custom levels (which must be unique) do not match. There is a need therefore for a pattern converter specific to Log4j 1.x. Conflicts: log4j-1.2-api/src/main/java/org/apache/log4j/builders/layout/PatternLayoutBuilder.java log4j-1.2-api/src/main/java/org/apache/log4j/builders/layout/SimpleLayoutBuilder.java
Configuration menu - View commit details
-
Copy full SHA for 42ec510 - Browse repository at this point
Copy the full SHA 42ec510View commit details -
[LOG4J2-3419] Allows %pid in Log4j 1.x patterns
Although `%pid` was never a valid Log4j 1.x pattern, it was supported in the previous bridge versions. This fixes a regression with respect to `log4j-1.2-api` version 2.17.2. Conflicts: log4j-1.2-api/src/main/java/org/apache/log4j/builders/layout/PatternLayoutBuilder.java
Configuration menu - View commit details
-
Copy full SHA for c28d39f - Browse repository at this point
Copy the full SHA c28d39fView commit details -
Extract Category annotation from Plugin and add to Key
- Moved Plugin::category into recently created annotation Category::value - Category is no longer a qualifier type but instead a namespace for Key. - Allow for stereotype annotations for Category to make categories annotation-type-safe when desired (including new TypeConverterCategory stereotype) - Rename Plugin::name to Plugin::value and make it optional, defaulting to the simple class name of the annotated class - Add PluginEntry::getElementName to more consistently store element names along with refactoring to use a builder pattern - Fix PluginElementVisitor to fall back to checking a plugin name when the element name isn't defined. This inconsistency arose from a typo somewhere. - Update PluginOrder to fall back to comparing by class name when neither class is annotated - Replace Named with Category when injecting plugin categories - Update docs to clarify that plugin categories are namespaces Signed-off-by: Matt Sicker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3803627 - Browse repository at this point
Copy the full SHA 3803627View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98f9cee - Browse repository at this point
Copy the full SHA 98f9ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f37afc1 - Browse repository at this point
Copy the full SHA f37afc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10f8cc2 - Browse repository at this point
Copy the full SHA 10f8cc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fce7b8f - Browse repository at this point
Copy the full SHA fce7b8fView commit details -
This commit ensures that: * an `InstanceFactory` is created in the Log4j `Provider`, * the same factory is injected as parameters to all the components of the chain `Log4jContextFactory`, `ContextSelector`, `LoggerContext` (child), `Configuration` (grand-child). * `DI.createInstanceFactory` is called only when strictly necessary.
Configuration menu - View commit details
-
Copy full SHA for eeff3d7 - Browse repository at this point
Copy the full SHA eeff3d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec14b3f - Browse repository at this point
Copy the full SHA ec14b3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcece68 - Browse repository at this point
Copy the full SHA bcece68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e527e1 - Browse repository at this point
Copy the full SHA 9e527e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc9f584 - Browse repository at this point
Copy the full SHA fc9f584View commit details