(logging-log4j-samples) branch dependabot/maven/io.fabric8-kubernetes-client-bom-6.9.1 deleted (was 6b82ad8)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/io.fabric8-kubernetes-client-bom-6.9.1 in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git was 6b82ad8 Bump io.fabric8:kubernetes-client-bom from 6.9.0 to 6.9.1 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(logging-log4j2) branch main updated (c031a93a2a -> b5fadaea6d)
This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git from c031a93a2a Generate a `test-jar` for `log4j-layout-jackson` new 3389ee7482 Switch to official Maven Javadoc plugin properties new 9f45b062b3 Remove invalid javadoc links new 1378c15b9a Add missing javadoc tags new ba8f243be9 Fix remaining Javadoc errors in `log4j-api` new b5fadaea6d Fix remaining Javadoc errors in `log4j-core` The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: log4j-api/pom.xml | 2 +- log4j-api/src/main/java/org/apache/logging/log4j/Level.java | 1 + .../src/main/java/org/apache/logging/log4j/ThreadContext.java | 2 +- .../apache/logging/log4j/message/FormattedMessageFactory.java | 5 +++-- .../apache/logging/log4j/message/LocalizedMessageFactory.java | 5 +++-- .../logging/log4j/message/MessageFormatMessageFactory.java| 5 +++-- .../logging/log4j/message/ParameterizedMessageFactory.java| 5 +++-- .../log4j/message/ParameterizedNoReferenceMessageFactory.java | 5 +++-- .../apache/logging/log4j/message/SimpleMessageFactory.java| 5 +++-- .../apache/logging/log4j/message/StringFormattedMessage.java | 5 +++-- .../logging/log4j/message/StringFormatterMessageFactory.java | 5 +++-- .../org/apache/logging/log4j/message/StructuredDataId.java| 2 +- .../org/apache/logging/log4j/spi/LoggingSystemProperty.java | 2 +- .../java/org/apache/logging/log4j/util/StackLocatorUtil.java | 2 +- .../src/main/java/org/apache/logging/log4j/util/Unbox.java| 3 ++- log4j-core/pom.xml| 2 +- .../log4j/core/appender/AbstractOutputStreamAppender.java | 6 +- .../logging/log4j/core/appender/AbstractWriterAppender.java | 10 +- .../apache/logging/log4j/core/appender/FailoverAppender.java | 2 +- .../org/apache/logging/log4j/core/appender/NullAppender.java | 2 +- .../apache/logging/log4j/core/appender/SocketAppender.java| 4 ++-- .../log4j/core/appender/db/AbstractDatabaseAppender.java | 4 +--- .../logging/log4j/core/appender/rewrite/RewriteAppender.java | 2 +- .../log4j/core/appender/rolling/action/DeleteAction.java | 4 ++-- .../core/appender/rolling/action/IfAccumulatedFileSize.java | 2 +- .../log4j/core/appender/rolling/action/SortingVisitor.java| 5 ++--- .../logging/log4j/core/async/AsyncQueueFullPolicyFactory.java | 6 -- .../log4j/core/async/DiscardingAsyncQueueFullPolicy.java | 2 +- .../java/org/apache/logging/log4j/core/config/Property.java | 2 +- .../apache/logging/log4j/core/filter/StringMatchFilter.java | 6 +++--- .../apache/logging/log4j/core/impl/ContextDataFactory.java| 2 +- .../org/apache/logging/log4j/core/impl/ExtendedClassInfo.java | 6 +++--- .../logging/log4j/core/impl/ExtendedStackTraceElement.java| 2 +- .../logging/log4j/core/impl/ThreadContextDataInjector.java| 2 +- .../org/apache/logging/log4j/core/layout/AbstractLayout.java | 4 ++-- .../main/java/org/apache/logging/log4j/core/net/Facility.java | 1 + .../logging/log4j/core/pattern/NamePatternConverter.java | 1 - .../java/org/apache/logging/log4j/core/time/ClockFactory.java | 2 +- .../org/apache/logging/log4j/core/time/InstantFormatter.java | 2 +- .../log4j/core/time/internal/format/FastDateParser.java | 3 ++- .../apache/logging/log4j/core/tools/picocli/CommandLine.java | 10 +- .../java/org/apache/logging/log4j/core/util/Constants.java| 8 .../org/apache/logging/log4j/core/util/CronExpression.java| 3 ++- .../org/apache/logging/log4j/core/util/ProcessIdUtil.java | 2 +- .../apache/logging/log4j/core/util/StringBuilderWriter.java | 2 +- log4j-parent/pom.xml | 2 +- pom.xml | 11 --- 47 files changed, 98 insertions(+), 78 deletions(-)
(logging-log4j2) 01/05: Switch to official Maven Javadoc plugin properties
This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git commit 3389ee7482674e61243fe01addd2be901b6dff00 Author: Piotr P. Karwasz AuthorDate: Thu Nov 2 19:28:41 2023 +0100 Switch to official Maven Javadoc plugin properties --- log4j-api/pom.xml| 2 +- log4j-core/pom.xml | 2 +- log4j-parent/pom.xml | 2 +- pom.xml | 11 --- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/log4j-api/pom.xml b/log4j-api/pom.xml index 8f4934a00c..4f529fbd12 100644 --- a/log4j-api/pom.xml +++ b/log4j-api/pom.xml @@ -32,7 +32,7 @@ ${basedir}/.. API Documentation /api -false +false -true +true true diff --git a/pom.xml b/pom.xml index fefa94570c..d96fe7c058 100644 --- a/pom.xml +++ b/pom.xml @@ -334,8 +334,8 @@ -all,-missing,-html -true +all,-missing,-html +true true @@ -722,12 +722,9 @@ pre-site - - - true - ${javadoc.skip} +
(logging-log4j2) 04/05: Fix remaining Javadoc errors in `log4j-api`
This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git commit ba8f243be97f4117c46c5043f344e95de9d4c644 Author: Piotr P. Karwasz AuthorDate: Thu Nov 2 19:56:24 2023 +0100 Fix remaining Javadoc errors in `log4j-api` --- log4j-api/src/main/java/org/apache/logging/log4j/Level.java | 1 + log4j-api/src/main/java/org/apache/logging/log4j/ThreadContext.java | 2 +- .../org/apache/logging/log4j/message/FormattedMessageFactory.java| 5 +++-- .../org/apache/logging/log4j/message/LocalizedMessageFactory.java| 5 +++-- .../apache/logging/log4j/message/MessageFormatMessageFactory.java| 5 +++-- .../apache/logging/log4j/message/ParameterizedMessageFactory.java| 5 +++-- .../log4j/message/ParameterizedNoReferenceMessageFactory.java| 5 +++-- .../java/org/apache/logging/log4j/message/SimpleMessageFactory.java | 5 +++-- .../org/apache/logging/log4j/message/StringFormattedMessage.java | 5 +++-- .../apache/logging/log4j/message/StringFormatterMessageFactory.java | 5 +++-- .../java/org/apache/logging/log4j/spi/LoggingSystemProperty.java | 2 +- .../main/java/org/apache/logging/log4j/util/StackLocatorUtil.java| 2 +- log4j-api/src/main/java/org/apache/logging/log4j/util/Unbox.java | 3 ++- 13 files changed, 30 insertions(+), 20 deletions(-) diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java b/log4j-api/src/main/java/org/apache/logging/log4j/Level.java index 88eb7b9244..8a44ed332b 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/Level.java @@ -28,6 +28,7 @@ import static org.apache.logging.log4j.util.Strings.toRootUpperCase; /** * Levels used for identifying the severity of an event. Levels are organized from most specific to least: * + * Levels * * Name * Description diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/ThreadContext.java b/log4j-api/src/main/java/org/apache/logging/log4j/ThreadContext.java index e4287d883d..25e01cf7a4 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/ThreadContext.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/ThreadContext.java @@ -38,7 +38,7 @@ import org.apache.logging.log4j.util.Strings; * The ThreadContext allows applications to store information either in a Map or a Stack. * * The MDC is managed on a per thread basis. To enable automatic inheritance of copies of the MDC - * to newly created threads, enable the {@value LoggingSystemProperty#THREAD_CONTEXT_MAP_INHERITABLE} + * to newly created threads, enable the {@link LoggingSystemProperty#THREAD_CONTEXT_MAP_INHERITABLE} * Log4j system property. * * @see https://logging.apache.org/log4j/2.x/manual/thread-context.html;>Thread Context Manual diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessageFactory.java b/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessageFactory.java index abb2979f76..8488be2149 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessageFactory.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessageFactory.java @@ -19,8 +19,9 @@ package org.apache.logging.log4j.message; /** * Creates {@link FormattedMessage} instances for {@link MessageFactory} methods. * - * - * Note to implementors + * + * Note to implementors: + * * * This class implements all {@link MessageFactory} methods. * diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessageFactory.java b/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessageFactory.java index 91f66b0abb..dcfc7624ec 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessageFactory.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessageFactory.java @@ -21,8 +21,9 @@ import java.util.ResourceBundle; /** * Creates {@link FormattedMessage} instances for {@link MessageFactory} methods. * - * - * Note to implementors + * + * Note to implementors: + * * * This class does not implement any {@link MessageFactory} methods and lets the superclass funnel those calls * through {@link #newMessage(String, Object...)}. diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessageFactory.java b/log4j-api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessageFactory.java index 7d4fe23de6..dfef142739 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessageFactory.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessageFactory.java @@ -19,8 +19,9 @@ package org.apache.logging.log4j.message; /** * Creates {@link FormattedMessage} instances for {@link MessageFactory} methods. * - * - *
(logging-log4j2) 05/05: Fix remaining Javadoc errors in `log4j-core`
This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git commit b5fadaea6d97ea5d272953996066ca43fa7d764d Author: Piotr P. Karwasz AuthorDate: Thu Nov 2 20:45:47 2023 +0100 Fix remaining Javadoc errors in `log4j-core` --- .../apache/logging/log4j/core/appender/FailoverAppender.java | 2 +- .../org/apache/logging/log4j/core/appender/NullAppender.java | 2 +- .../org/apache/logging/log4j/core/appender/SocketAppender.java | 4 ++-- .../log4j/core/appender/db/AbstractDatabaseAppender.java | 4 +--- .../logging/log4j/core/appender/rewrite/RewriteAppender.java | 2 +- .../log4j/core/appender/rolling/action/DeleteAction.java | 4 ++-- .../core/appender/rolling/action/IfAccumulatedFileSize.java| 2 +- .../log4j/core/appender/rolling/action/SortingVisitor.java | 5 ++--- .../logging/log4j/core/async/AsyncQueueFullPolicyFactory.java | 6 -- .../log4j/core/async/DiscardingAsyncQueueFullPolicy.java | 2 +- .../java/org/apache/logging/log4j/core/config/Property.java| 2 +- .../apache/logging/log4j/core/filter/StringMatchFilter.java| 6 +++--- .../org/apache/logging/log4j/core/impl/ContextDataFactory.java | 2 +- .../logging/log4j/core/impl/ThreadContextDataInjector.java | 2 +- .../org/apache/logging/log4j/core/layout/AbstractLayout.java | 4 ++-- .../main/java/org/apache/logging/log4j/core/net/Facility.java | 1 + .../logging/log4j/core/pattern/NamePatternConverter.java | 1 - .../java/org/apache/logging/log4j/core/time/ClockFactory.java | 2 +- .../org/apache/logging/log4j/core/time/InstantFormatter.java | 2 +- .../apache/logging/log4j/core/tools/picocli/CommandLine.java | 10 +- .../java/org/apache/logging/log4j/core/util/Constants.java | 8 .../org/apache/logging/log4j/core/util/CronExpression.java | 3 ++- .../java/org/apache/logging/log4j/core/util/ProcessIdUtil.java | 2 +- .../apache/logging/log4j/core/util/StringBuilderWriter.java| 2 +- 24 files changed, 40 insertions(+), 40 deletions(-) diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FailoverAppender.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FailoverAppender.java index ab2130a052..16d738f129 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FailoverAppender.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FailoverAppender.java @@ -176,7 +176,7 @@ public final class FailoverAppender extends AbstractAppender { * @param retryIntervalSeconds The retry interval in seconds. * @param config The current Configuration (passed by the Configuration when the appender is created). * @param filter A Filter (optional). - * @param ignore If {@code "true"} (default) exceptions encountered when appending events are logged; otherwise + * @param ignoreExceptions If {@code "true"} (default) exceptions encountered when appending events are logged; otherwise * they are propagated to the caller. * @return The FailoverAppender that was created. */ diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/NullAppender.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/NullAppender.java index 204ee96bf0..d083e4eb78 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/NullAppender.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/NullAppender.java @@ -26,7 +26,7 @@ import org.apache.logging.log4j.plugins.PluginFactory; /** * An Appender that ignores log events. Use for compatibility with version 1.2 and handy for composing a - * {@link ScriptAppenderSelector}. + * {@code ScriptAppenderSelector}. */ @Configurable(elementType = Appender.ELEMENT_TYPE, printObject = true) @Plugin(NullAppender.PLUGIN_NAME) diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/SocketAppender.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/SocketAppender.java index e175f4cf14..10fe05b1b5 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/SocketAppender.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/SocketAppender.java @@ -51,12 +51,12 @@ public class SocketAppender extends AbstractOutputStreamAppenderDefaults + * Defaults * * host: "localhost" * protocol: "TCP" * - * Changes + * Changes * * Removed deprecated "delayMillis", use "reconnectionDelayMillis". * Removed deprecated "reconnectionDelay", use "reconnectionDelayMillis". diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/AbstractDatabaseAppender.java
(logging-log4j2) 02/05: Remove invalid javadoc links
This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git commit 9f45b062b3868b13a96edef4b1bb93fb7c1f543c Author: Lukasz Spyra AuthorDate: Fri Oct 6 14:28:40 2023 +0200 Remove invalid javadoc links Links were removed due to following reasons: dependency commons-lang3 not containing docs sources; package sun.reflect.Reflection was deprecated and removed in JDK8 --- .../java/org/apache/logging/log4j/core/impl/ExtendedClassInfo.java | 6 +++--- .../apache/logging/log4j/core/impl/ExtendedStackTraceElement.java | 2 +- .../logging/log4j/core/time/internal/format/FastDateParser.java | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ExtendedClassInfo.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ExtendedClassInfo.java index 63ad5b2956..32b35d3cd5 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ExtendedClassInfo.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ExtendedClassInfo.java @@ -33,9 +33,9 @@ public final class ExtendedClassInfo { /** * Constructs a new instance. * - * @param exact - * @param location - * @param version + * @param exact Whether the class was obtained via {@code sun.reflect.Reflection#getCallerClass(int)}. + * @param location a classpath element or a jar + * @param version the string describing a version */ public ExtendedClassInfo(final boolean exact, final String location, final String version) { super(); diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ExtendedStackTraceElement.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ExtendedStackTraceElement.java index 04b91e3bc3..34fbc6473f 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ExtendedStackTraceElement.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ExtendedStackTraceElement.java @@ -26,7 +26,7 @@ import org.apache.logging.log4j.util.Strings; * Complements a StackTraceElement with: * * - * exact: whether the class was obtained via {@link sun.reflect.Reflection#getCallerClass(int)} + * exact: whether the class was obtained via {@code sun.reflect.Reflection#getCallerClass(int)} * location: a classpath element or a jar * version * diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/time/internal/format/FastDateParser.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/time/internal/format/FastDateParser.java index 9f7296690e..4b175153f7 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/time/internal/format/FastDateParser.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/time/internal/format/FastDateParser.java @@ -368,7 +368,8 @@ public class FastDateParser implements DateParser { * given by {@link ParsePosition#getIndex()} has been updated. If the input buffer has been fully * parsed, then the index will point to just after the end of the input buffer. * - * @see org.apache.commons.lang3.time.DateParser#parse(java.lang.String, java.text.ParsePosition) + * @see https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/time/DateParser.html#parse-java.lang.String-java.text.ParsePosition-;> + * org.apache.commons.lang3.time.DateParser#parse(String, ParsePosition) */ @Override public Date parse(final String source, final ParsePosition pos) {
(logging-log4j2) 03/05: Add missing javadoc tags
This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git commit 1378c15b9aad31da021fba06051e5e66b265cb0d Author: Lukasz Spyra AuthorDate: Fri Oct 6 17:25:27 2023 +0200 Add missing javadoc tags Most of the missing tags are self-explanatory, added a few missing to be consistent --- .../org/apache/logging/log4j/message/StructuredDataId.java | 2 +- .../log4j/core/appender/AbstractOutputStreamAppender.java | 6 +- .../logging/log4j/core/appender/AbstractWriterAppender.java| 10 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java b/log4j-api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java index 76937ba298..3e22a3d136 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java @@ -90,7 +90,7 @@ public class StructuredDataId implements StringBuilderFormattable { * @param name The name portion of the id. * @param required The list of keys that are required for this id. * @param optional The list of keys that are optional for this id. - * @param maxLength The maximum length of the id. + * @param maxLength The maximum length of the id's name. * @since 2.9 */ public StructuredDataId(final String name, final String[] required, final String[] optional, int maxLength) { diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AbstractOutputStreamAppender.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AbstractOutputStreamAppender.java index d1b7402797..ebfcb95b1e 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AbstractOutputStreamAppender.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AbstractOutputStreamAppender.java @@ -93,7 +93,11 @@ public abstract class AbstractOutputStreamAppender extends Ab *The name of the Appender. * @param layout *The layout to format the message. - * @param properties Optional properties. + * @param filter + *The filter to associate with the Appender. + * @param ignoreExceptions + *If true, exceptions will be logged and suppressed. + *If false errors will be logged and then passed to the application. + * @param immediateFlush + *Underlying writer will be flushed at the end of each append operation. + * @param properties + *Optional properties. * @param manager *The OutputStreamManager. */
(logging-site) branch asf-staging updated: readded autopublish for asf-site
This is an automated email from the ASF dual-hosted git repository. grobmeier pushed a commit to branch asf-staging in repository https://gitbox.apache.org/repos/asf/logging-site.git The following commit(s) were added to refs/heads/asf-staging by this push: new 7673b4a7 readded autopublish for asf-site 7673b4a7 is described below commit 7673b4a7c2db1c71b982ff3eb6b3b12e428c7f85 Author: Christian Grobmeier AuthorDate: Thu Nov 2 19:35:07 2023 +0100 readded autopublish for asf-site --- .asf.yaml | 4 1 file changed, 4 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index bf2f3896..290834c1 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -7,3 +7,7 @@ notifications: staging: profile: ~ whoami: asf-staging + +publish: + profile: ~ + whoami: asf-site
(logging-site) branch asf-staging updated: Automatic Site Publish by Buildbot
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-staging in repository https://gitbox.apache.org/repos/asf/logging-site.git The following commit(s) were added to refs/heads/asf-staging by this push: new f93490e3 Automatic Site Publish by Buildbot f93490e3 is described below commit f93490e3b130f45ff2cf1381e00d05d5e76f2ebb Author: buildbot AuthorDate: Thu Nov 2 18:21:27 2023 + Automatic Site Publish by Buildbot --- content/README.md | 1 - content/feed.xml | 2 +- content/index.html | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/content/README.md b/content/README.md index b240ed96..6ce8303b 100644 --- a/content/README.md +++ b/content/README.md @@ -44,4 +44,3 @@ and connect to it with this command: ``` docker run --rm -p 4000:4000 --mount type=bind,src=$PWD,dst=/root/build --mount type=volume,dst=/root/build/node_modules -it --entrypoint "/bin/bash" apache/logging_site ``` - diff --git a/content/feed.xml b/content/feed.xml index 4aa56dcc..4147c1cf 100644 --- a/content/feed.xml +++ b/content/feed.xml @@ -1,4 +1,4 @@ -http://www.w3.org/2005/Atom; >https://jekyllrb.com/; version="4.2.2">Jekyll2023-10-18T18:20:21+00:00/feed.xmlApache Software Foundation - Logging ServicesWrite an awesome description for your new site here. You can edit this line in _ [...] +http://www.w3.org/2005/Atom; >https://jekyllrb.com/; version="4.2.2">Jekyll2023-11-02T18:21:26+00:00/feed.xmlApache Software Foundation - Logging ServicesWrite an awesome description for your new site here. You can edit this line in _ [...] Release diff --git a/content/index.html b/content/index.html index 0fffa31f..ca0abcdd 100644 --- a/content/index.html +++ b/content/index.html @@ -138,7 +138,7 @@ Apache Logging Services - The Apache Logging Services Project creates and maintains open-source software related to the logging of + The Apache Logging Services project creates and maintains open-source software related to the logging of application behavior and released at no charge to the public.
(logging-site) branch jekyll updated: typo
This is an automated email from the ASF dual-hosted git repository. grobmeier pushed a commit to branch jekyll in repository https://gitbox.apache.org/repos/asf/logging-site.git The following commit(s) were added to refs/heads/jekyll by this push: new 9dfd5eaf typo 9dfd5eaf is described below commit 9dfd5eafbea1c88129cb9f02e337bfa14744b5b9 Author: Christian Grobmeier AuthorDate: Thu Nov 2 19:21:08 2023 +0100 typo --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 6bdf1da2..14c50b9d 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ layout: default Apache Logging Services - The Apache Logging Services Project creates and maintains open-source software related to the logging of + The Apache Logging Services project creates and maintains open-source software related to the logging of application behavior and released at no charge to the public.
(logging-log4j2) branch 2.x updated: Delete more `FastDateParser` tests (LOG4J2-3672, #1848)
This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch 2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/2.x by this push: new ac799698de Delete more `FastDateParser` tests (LOG4J2-3672, #1848) ac799698de is described below commit ac799698de8c0e1d360cd7f0c6858bea0174808b Author: Volkan Yazıcı AuthorDate: Thu Nov 2 18:49:22 2023 +0100 Delete more `FastDateParser` tests (LOG4J2-3672, #1848) --- .../core/util/datetime/FastDateParserSDFTest.java | 227 - .../datetime/FastDateParser_MoreOrLessTest.java| 118 --- .../FastDateParser_TimeZoneStrategyTest.java | 71 --- 3 files changed, 416 deletions(-) diff --git a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/datetime/FastDateParserSDFTest.java b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/datetime/FastDateParserSDFTest.java deleted file mode 100644 index cfecdbf0b2..00 --- a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/datetime/FastDateParserSDFTest.java +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to you under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.logging.log4j.core.util.datetime; - -import java.text.ParseException; -import java.text.ParsePosition; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.Locale; -import java.util.TimeZone; -import java.util.stream.Stream; - -import org.junit.jupiter.params.ParameterizedTest; -import org.junit.jupiter.params.provider.Arguments; -import org.junit.jupiter.params.provider.MethodSource; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.junit.jupiter.api.Assertions.fail; - -/** - * Compare FastDateParser with SimpleDateFormat - * - * Copied from Apache Commons Lang 3 on 2016-11-16. - */ -public class FastDateParserSDFTest { - -static Stream data() { -return Stream.of( -// General Time zone tests -Arguments.of("z ", "GMT 2010", Locale.UK, true), // no offset specified, but this is allowed as a - // TimeZone name -Arguments.of("z ", "GMT-123 2010", Locale.UK, false), -Arguments.of("z ", "GMT-1234 2010", Locale.UK, false), -Arguments.of("z ", "GMT-12:34 2010", Locale.UK, true), -Arguments.of("z ", "GMT-1:23 2010", Locale.UK, true), -// RFC 822 tests -Arguments.of("z ", "-1234 2010", Locale.UK, true), -Arguments.of("z ", "-12:34 2010", Locale.UK, false), -Arguments.of("z ", "-123 2010", Locale.UK, false), -// year tests -Arguments.of("MM/dd/", "01/11/12", Locale.UK, true), -Arguments.of("MM/dd/yy", "01/11/12", Locale.UK, true), - -// LANG-1089 -Arguments.of("HH", "00", Locale.UK, true), // Hour in day (0-23) -Arguments.of("KK", "00", Locale.UK, true), // Hour in am/pm (0-11) -Arguments.of("hh", "00", Locale.UK, true), // Hour in am/pm (1-12), i.e. midday/midnight is 12, not 0 -Arguments.of("kk", "00", Locale.UK, true), // Hour in day (1-24), i.e. midnight is 24, not 0 - -Arguments.of("HH", "01", Locale.UK, true), // Hour in day (0-23) -Arguments.of("KK", "01", Locale.UK, true), // Hour in am/pm (0-11) -Arguments.of("hh", "01", Locale.UK, true), // Hour in am/pm (1-12), i.e. midday/midnight is 12, not 0 -Arguments.of("kk", "01", Locale.UK, true), // Hour in day (1-24), i.e. midnight is 24, not 0 - -Arguments.of("HH", "11", Locale.UK, true), // Hour in day (0-23) -Arguments.of("KK", "11", Locale.UK, true), // Hour in am/pm (0-11) -Arguments.of("hh", "11", Locale.UK, true), // Hour in am/pm (1-12), i.e. midday/midnight is 12,
(logging-log4j2) branch 2.x updated: Removed unused `FastDateParser` (LOG4J2-3672, #1848)
This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch 2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/2.x by this push: new f9766bb3b7 Removed unused `FastDateParser` (LOG4J2-3672, #1848) f9766bb3b7 is described below commit f9766bb3b7cf7a914c3ae36358aa053ee088b097 Author: Volkan Yazıcı AuthorDate: Thu Nov 2 18:28:44 2023 +0100 Removed unused `FastDateParser` (LOG4J2-3672, #1848) --- .../core/util/datetime/FastDateParserTest.java | 724 --- log4j-core/pom.xml | 15 + .../log4j/core/util/datetime/DateParser.java | 131 --- .../log4j/core/util/datetime/FastDateFormat.java | 53 +- .../log4j/core/util/datetime/FastDateParser.java | 992 - .../logging/log4j/core/util/datetime/Format.java | 12 - src/changelog/.2.x.x/remove_FastDateParser.xml | 9 + src/site/_release-notes/_2.x.x.adoc| 4 + 8 files changed, 30 insertions(+), 1910 deletions(-) diff --git a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/datetime/FastDateParserTest.java b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/datetime/FastDateParserTest.java deleted file mode 100644 index 1859435941..00 --- a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/util/datetime/FastDateParserTest.java +++ /dev/null @@ -1,724 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to you under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.logging.log4j.core.util.datetime; - -import java.io.Serializable; -import java.text.ParseException; -import java.text.ParsePosition; -import java.text.SimpleDateFormat; -import java.util.Calendar; -import java.util.Date; -import java.util.GregorianCalendar; -import java.util.HashMap; -import java.util.Locale; -import java.util.Map; -import java.util.TimeZone; - -import org.apache.commons.lang3.LocaleUtils; -import org.apache.commons.lang3.SerializationUtils; -import org.junit.jupiter.api.Test; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertFalse; -import static org.junit.jupiter.api.Assertions.assertThrows; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.junit.jupiter.api.Assertions.fail; - -/** - * Unit tests {@link org.apache.commons.lang3.time.FastDateParser}. - * - * Copied from Apache Commons Lang 3 on 2016-11-16. - */ -public class FastDateParserTest { -private static enum Expected1806 { -India(INDIA, "+05", "+0530", "+05:30", true), -Greenwich(GMT, "Z", "Z", "Z", false), -NewYork(NEW_YORK, "-05", "-0500", "-05:00", false); - -final TimeZone zone; - -final String one; -final String two; -final String three; -final long offset; -private Expected1806(final TimeZone zone, final String one, final String two, final String three, final boolean hasHalfHourOffset) { -this.zone = zone; -this.one = one; -this.two = two; -this.three = three; -this.offset = hasHalfHourOffset ?30*60*1000 :0; -} -} -private static final String SHORT_FORMAT_NOERA = "y/M/d/h/a/m/s/E"; -private static final String LONG_FORMAT_NOERA = "/////ss//"; -private static final String SHORT_FORMAT = "G/" + SHORT_FORMAT_NOERA; - -private static final String LONG_FORMAT = "/" + LONG_FORMAT_NOERA; -private static final String yMdHmsSZ = "-MM-dd'T'HH:mm:ss.SSS Z"; -private static final String DMY_DOT = "dd.MM."; -private static final String YMD_SLASH = "/MM/dd"; -private static final String MDY_DASH = "MM-DD-"; - -private static final String MDY_SLASH = "MM/DD/"; -private static final TimeZone REYKJAVIK = TimeZone.getTimeZone("Atlantic/Reykjavik"); -private static final TimeZone NEW_YORK = TimeZone.getTimeZone("America/New_York"); -private static final TimeZone GMT = TimeZone.getTimeZone("GMT"); - -private static final TimeZone INDIA = TimeZone.getTimeZone("Asia/Calcutta"); - -private static final
(logging-log4j-audit) branch master updated: Update `org.checkerframework:checker-qual` to version `3.40.0` (#85)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/logging-log4j-audit.git The following commit(s) were added to refs/heads/master by this push: new 8ff45c0 Update `org.checkerframework:checker-qual` to version `3.40.0` (#85) 8ff45c0 is described below commit 8ff45c0b19a069f674845fe76df1b6315625847d Author: ASF Logging Services RM AuthorDate: Thu Nov 2 16:51:23 2023 + Update `org.checkerframework:checker-qual` to version `3.40.0` (#85) --- pom.xml | 2 +- src/changelog/.1.x.x/update_org_checkerframework_checker_qual.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index ccaa490..c30916a 100644 --- a/pom.xml +++ b/pom.xml @@ -197,7 +197,7 @@ the independence of transitive dependencies from the order of dependencies (requireUpperBoundDeps rule). = --> -3.39.0 +3.40.0 32.1.3-jre diff --git a/src/changelog/.1.x.x/update_org_checkerframework_checker_qual.xml b/src/changelog/.1.x.x/update_org_checkerframework_checker_qual.xml index a470ec2..5e009db 100644 --- a/src/changelog/.1.x.x/update_org_checkerframework_checker_qual.xml +++ b/src/changelog/.1.x.x/update_org_checkerframework_checker_qual.xml @@ -3,6 +3,6 @@ xmlns="http://logging.apache.org/log4j/changelog; xsi:schemaLocation="http://logging.apache.org/log4j/changelog https://logging.apache.org/log4j/changelog-0.1.2.xsd; type="changed"> - https://github.com/apache/logging-log4j-audit/pull/75"/> - Update `org.checkerframework:checker-qual` to version `3.39.0` + https://github.com/apache/logging-log4j-audit/pull/85"/> + Update `org.checkerframework:checker-qual` to version `3.40.0`
(logging-log4j-audit) branch dependabot/maven/master/org.checkerframework-checker-qual-3.40.0 deleted (was 8b9515a)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/master/org.checkerframework-checker-qual-3.40.0 in repository https://gitbox.apache.org/repos/asf/logging-log4j-audit.git was 8b9515a Bump org.checkerframework:checker-qual from 3.39.0 to 3.40.0 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(logging-log4j-audit) branch dependabot/maven/master/org.checkerframework-checker-qual-3.40.0 created (now 8b9515a)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/master/org.checkerframework-checker-qual-3.40.0 in repository https://gitbox.apache.org/repos/asf/logging-log4j-audit.git at 8b9515a Bump org.checkerframework:checker-qual from 3.39.0 to 3.40.0 No new revisions were added by this update.
(logging-log4j2) branch 2.x updated: Update `com.github.luben:zstd-jni` to version `1.5.5-10` (#1940)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch 2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/2.x by this push: new 72c7d73882 Update `com.github.luben:zstd-jni` to version `1.5.5-10` (#1940) 72c7d73882 is described below commit 72c7d738821db5a5cd06d25de418728e38459899 Author: ASF Logging Services RM AuthorDate: Thu Nov 2 11:13:27 2023 + Update `com.github.luben:zstd-jni` to version `1.5.5-10` (#1940) --- log4j-parent/pom.xml | 2 +- src/changelog/.2.x.x/update_com_github_luben_zstd_jni.xml | 4 ++-- src/site/_release-notes/_2.x.x.adoc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/log4j-parent/pom.xml b/log4j-parent/pom.xml index 610f87d42d..f388a10620 100644 --- a/log4j-parent/pom.xml +++ b/log4j-parent/pom.xml @@ -150,7 +150,7 @@ 6.5.1 2.9.1 1.9 -1.5.5-9 +1.5.5-10
(logging-log4j2) branch dependabot/maven/2.x/com.github.luben-zstd-jni-1.5.5-10 deleted (was 53b905508a)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/2.x/com.github.luben-zstd-jni-1.5.5-10 in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git was 53b905508a Bump com.github.luben:zstd-jni from 1.5.5-9 to 1.5.5-10 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(logging-log4j2) branch dependabot/maven/2.x/com.github.luben-zstd-jni-1.5.5-10 created (now 53b905508a)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/2.x/com.github.luben-zstd-jni-1.5.5-10 in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git at 53b905508a Bump com.github.luben:zstd-jni from 1.5.5-9 to 1.5.5-10 No new revisions were added by this update.
(logging-log4j2) branch main updated: Generate a `test-jar` for `log4j-layout-jackson`
This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git The following commit(s) were added to refs/heads/main by this push: new c031a93a2a Generate a `test-jar` for `log4j-layout-jackson` c031a93a2a is described below commit c031a93a2a650dc774bb68a65a694b77f21c9756 Author: Piotr P. Karwasz AuthorDate: Thu Nov 2 09:47:06 2023 +0100 Generate a `test-jar` for `log4j-layout-jackson` --- log4j-layout-jackson/pom.xml | 17 + 1 file changed, 17 insertions(+) diff --git a/log4j-layout-jackson/pom.xml b/log4j-layout-jackson/pom.xml index 7d533c7391..058baab4de 100644 --- a/log4j-layout-jackson/pom.xml +++ b/log4j-layout-jackson/pom.xml @@ -72,4 +72,21 @@ test + + + + +biz.aQute.bnd +bnd-maven-plugin + + +generate-test-jar + + test-jar + + + + + +