You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/08/23 05:47:03 UTC
logging-log4j2 git commit: Remove unneeded annotations in deprecated
method.
Repository: logging-log4j2
Updated Branches:
refs/heads/master 98972e5d1 -> aeea0bcee
Remove unneeded annotations in deprecated method.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/aeea0bce
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/aeea0bce
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/aeea0bce
Branch: refs/heads/master
Commit: aeea0bcee736022520b62ef5491458aae8ce3f46
Parents: 98972e5
Author: Gary Gregory <gg...@apache.org>
Authored: Mon Aug 22 22:47:01 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Mon Aug 22 22:47:01 2016 -0700
----------------------------------------------------------------------
.../apache/logging/log4j/core/config/LoggerConfig.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/aeea0bce/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
index 3a3e04c..97db13f 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
@@ -411,12 +411,12 @@ public class LoggerConfig extends AbstractFilterable {
* @deprecated Use {@link #createLogger(boolean, Level, String, String, AppenderRef[], Property[], Configuration, Filter)}
*/
@Deprecated
- public static LoggerConfig createLogger(@PluginAttribute("additivity") final String additivity,
- @PluginAttribute("level") final Level level, @PluginAttribute("name") final String loggerName,
- @PluginAttribute("includeLocation") final String includeLocation,
- @PluginElement("AppenderRef") final AppenderRef[] refs,
- @PluginElement("Properties") final Property[] properties, @PluginConfiguration final Configuration config,
- @PluginElement("Filter") final Filter filter) {
+ public static LoggerConfig createLogger(final String additivity,
+ final Level level, @PluginAttribute("name") final String loggerName,
+ final String includeLocation,
+ final AppenderRef[] refs,
+ final Property[] properties, @PluginConfiguration final Configuration config,
+ final Filter filter) {
if (loggerName == null) {
LOGGER.error("Loggers cannot be configured without a name");
return null;