See
<https://builds.apache.org/job/Log4jWindows/Windows%20Slaves=Windows,jdk=JDK%201.7%20(unlimited%20security)%2064-bit%20Windows%20only/60/display/redirect?page=changes>
Changes:
[mikael.staldal] Fix Properties config examples
[mikael.staldal] Fix XML config examples
------------------------------------------
[...truncated 377.06 KB...]
2017-04-11 12:25:14,465 main DEBUG Building Plugin[name=layout,
class=org.apache.logging.log4j.core.layout.PatternLayout].
2017-04-11 12:25:14,468 main DEBUG PatternLayout$Builder(pattern="%d %p %C{1.}
[%t] %m%n", PatternSelector=null, Configuration(PropertiesConfigTest),
Replace=null, charset="null", alwaysWriteExceptions="null", disableAnsi="null",
noConsoleNoAnsi="null", header="null", footer="null")
2017-04-11 12:25:14,468 main DEBUG PluginManager 'Converter' found 41 plugins
2017-04-11 12:25:14,496 main DEBUG Building Plugin[name=appender,
class=org.apache.logging.log4j.core.appender.FileAppender].
2017-04-11 12:25:14,505 main DEBUG
FileAppender$Builder(fileName="target/test-properties.log", append="null",
locking="null", advertise="null", advertiseUri="null", createOnDemand="null",
bufferedIo="false", bufferSize="null", immediateFlush="null",
ignoreExceptions="null", PatternLayout(%d %p %C{1.} [%t] %m%n), name="File",
Configuration(PropertiesConfigTest), Filter=null)
2017-04-11 12:25:14,506 main WARN The bufferSize is set to 8192 but bufferedIo
is false: false
2017-04-11 12:25:14,510 main DEBUG Starting FileManager
target/test-properties.log
2017-04-11 12:25:14,510 main DEBUG Building Plugin[name=filter,
class=org.apache.logging.log4j.core.filter.ThresholdFilter].
2017-04-11 12:25:14,512 main DEBUG createFilter(level="ERROR", onMatch="null",
onMismatch="null")
2017-04-11 12:25:14,512 main DEBUG Building Plugin[name=appender,
class=org.apache.logging.log4j.test.appender.ListAppender].
2017-04-11 12:25:14,515 main DEBUG ListAppender$Builder(name="List",
entryPerNewLine="null", raw="null", Layout=null, ThresholdFilter(ERROR))
2017-04-11 12:25:14,515 main DEBUG Building Plugin[name=layout,
class=org.apache.logging.log4j.core.layout.PatternLayout].
2017-04-11 12:25:14,517 main DEBUG PatternLayout$Builder(pattern="%m%n",
PatternSelector=null, Configuration(PropertiesConfigTest), Replace=null,
charset="null", alwaysWriteExceptions="null", disableAnsi="null",
noConsoleNoAnsi="null", header="null", footer="null")
2017-04-11 12:25:14,517 main DEBUG Building Plugin[name=appender,
class=org.apache.logging.log4j.core.appender.ConsoleAppender].
2017-04-11 12:25:14,520 main DEBUG ConsoleAppender$Builder(target="null",
follow="null", direct="null", bufferedIo="null", bufferSize="null",
immediateFlush="null", ignoreExceptions="null", PatternLayout(%m%n),
name="STDOUT", Configuration(PropertiesConfigTest), Filter=null)
2017-04-11 12:25:14,521 main WARN Unable to instantiate
org.fusesource.jansi.WindowsAnsiOutputStream
2017-04-11 12:25:14,521 main DEBUG Starting OutputStreamManager
SYSTEM_OUT.false.false
2017-04-11 12:25:14,522 main DEBUG Building Plugin[name=appenders,
class=org.apache.logging.log4j.core.config.AppendersPlugin].
2017-04-11 12:25:14,523 main DEBUG createAppenders(={File, List, STDOUT})
2017-04-11 12:25:14,523 main DEBUG Building Plugin[name=filter,
class=org.apache.logging.log4j.core.filter.ThresholdFilter].
2017-04-11 12:25:14,524 main DEBUG createFilter(level="DEBUG", onMatch="null",
onMismatch="null")
2017-04-11 12:25:14,525 main DEBUG Configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@7ac01ae4
initialized
2017-04-11 12:25:14,526 main DEBUG Starting configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@7ac01ae4
2017-04-11 12:25:14,527 main DEBUG Log4j2 ConfigurationScheduler starting 1
threads
2017-04-11 12:25:14,528 main DEBUG Started configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@7ac01ae4
OK.
2017-04-11 12:25:14,529 main DEBUG Shutting down OutputStreamManager
SYSTEM_OUT.false.false-1
2017-04-11 12:25:14,529 main DEBUG Shut down OutputStreamManager
SYSTEM_OUT.false.false-1, all resources released: true
2017-04-11 12:25:14,530 main DEBUG Appender DefaultConsole-1 stopped with
status true
2017-04-11 12:25:14,530 main DEBUG Stopped
org.apache.logging.log4j.core.config.DefaultConfiguration@52052438 OK
2017-04-11 12:25:14,644 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest
2017-04-11 12:25:14,650 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=StatusLogger
2017-04-11 12:25:14,653 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=ContextSelector
2017-04-11 12:25:14,657 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=org.apache.logging.log4j.test2
2017-04-11 12:25:14,658 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=
2017-04-11 12:25:14,659 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=org.apache.logging.log4j.test1
2017-04-11 12:25:14,662 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=List
2017-04-11 12:25:14,663 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=STDOUT
2017-04-11 12:25:14,663 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=File
2017-04-11 12:25:14,667 main DEBUG
LoggerContext[name=org.apache.logging.log4j.core.PropertiesFileConfigTest,
org.apache.logging.log4j.core.LoggerContext@12339dd9] started OK with
configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@7ac01ae4.
Running org.apache.logging.log4j.core.PropertiesFileConfigTest
2017-04-11 12:25:15,528 Log4j2-TF-2-Scheduled-1 INFO File
target\test-classes\log4j-test2.properties was modified on 1491912638728,
previous modification was 1491912628728
2017-04-11 12:25:15,530 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
Reconfiguration started for context
org.apache.logging.log4j.core.PropertiesFileConfigTest
(org.apache.logging.log4j.core.LoggerContext@12339dd9)
2017-04-11 12:25:15,532 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Not in a
ServletContext environment, thus not loading WebLookup plugin.
2017-04-11 12:25:15,535 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Not in a
ServletContext environment, thus not loading WebLookup plugin.
2017-04-11 12:25:15,536 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
Initializing configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@6e9637fe
2017-04-11 12:25:15,537 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Installed
script engines
2017-04-11 12:25:15,538 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Groovy
Scripting Engine Version: 2.0, Language: Groovy, Threading: MULTITHREADED,
Compile: true, Names: {groovy, Groovy}
2017-04-11 12:25:15,539 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Mozilla
Rhino Version: 1.7 release 3 PRERELEASE, Language: ECMAScript, Threading:
MULTITHREADED, Compile: true, Names: {js, rhino, JavaScript, javascript,
ECMAScript, ecmascript}
2017-04-11 12:25:15,551 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG BeanShell
Engine Version: 1.0, Language: BeanShell, Threading: MULTITHREADED, Compile:
true, Names: {beanshell, bsh, java}
2017-04-11 12:25:15,552 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PluginManager 'Core' found 122 plugins
2017-04-11 12:25:15,552 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PluginManager 'Level' found 1 plugins
2017-04-11 12:25:15,552 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
2017-04-11 12:25:15,553 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createProperty(name="filename", value="target/test-properties.log")
2017-04-11 12:25:15,553 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=properties,
class=org.apache.logging.log4j.core.config.PropertiesPlugin].
2017-04-11 12:25:15,554 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
configureSubstitutor(={filename=target/test-properties.log},
Configuration(PropertiesConfigTest))
2017-04-11 12:25:15,554 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PluginManager 'Lookup' found 13 plugins
2017-04-11 12:25:15,555 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=AppenderRef,
class=org.apache.logging.log4j.core.config.AppenderRef].
2017-04-11 12:25:15,555 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createAppenderRef(ref="File", level="null", Filter=null)
2017-04-11 12:25:15,556 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2017-04-11 12:25:15,557 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createLogger(additivity="false", level="DEBUG",
name="org.apache.logging.log4j.test2", includeLocation="null", ={File}, ={},
Configuration(PropertiesConfigTest), Filter=null)
2017-04-11 12:25:15,558 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=AppenderRef,
class=org.apache.logging.log4j.core.config.AppenderRef].
2017-04-11 12:25:15,558 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createAppenderRef(ref="STDOUT", level="null", Filter=null)
2017-04-11 12:25:15,559 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=KeyValuePair,
class=org.apache.logging.log4j.core.util.KeyValuePair].
2017-04-11 12:25:15,559 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
KeyValuePair$Builder(key="test", value="123")
2017-04-11 12:25:15,559 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=filter,
class=org.apache.logging.log4j.core.filter.ThreadContextMapFilter].
2017-04-11 12:25:15,560 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createFilter(={test=123}, operator="null", onMatch="null", onMismatch="null")
2017-04-11 12:25:15,561 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2017-04-11 12:25:15,563 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createLogger(additivity="false", level="DEBUG",
name="org.apache.logging.log4j.test1", includeLocation="null", ={STDOUT}, ={},
Configuration(PropertiesConfigTest), ThreadContextMapFilter(isAnd=true,
{test=[123]}))
2017-04-11 12:25:15,563 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=AppenderRef,
class=org.apache.logging.log4j.core.config.AppenderRef].
2017-04-11 12:25:15,564 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createAppenderRef(ref="STDOUT", level="null", Filter=null)
2017-04-11 12:25:15,564 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=root,
class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger].
2017-04-11 12:25:15,565 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createLogger(additivity="null", level="ERROR", includeLocation="null",
={STDOUT}, ={}, Configuration(PropertiesConfigTest), Filter=null)
2017-04-11 12:25:15,565 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
2017-04-11 12:25:15,566 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createLoggers(={org.apache.logging.log4j.test2, org.apache.logging.log4j.test1,
root})
2017-04-11 12:25:15,566 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
2017-04-11 12:25:15,568 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PatternLayout$Builder(pattern="%d %p %C{1.} [%t] %m%n", PatternSelector=null,
Configuration(PropertiesConfigTest), Replace=null, charset="null",
alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null",
header="null", footer="null")
2017-04-11 12:25:15,568 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PluginManager 'Converter' found 41 plugins
2017-04-11 12:25:15,569 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=appender,
class=org.apache.logging.log4j.core.appender.FileAppender].
2017-04-11 12:25:15,572 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
FileAppender$Builder(fileName="target/test-properties.log", append="null",
locking="null", advertise="null", advertiseUri="null", createOnDemand="null",
bufferedIo="false", bufferSize="null", immediateFlush="null",
ignoreExceptions="null", PatternLayout(%d %p %C{1.} [%t] %m%n), name="File",
Configuration(PropertiesConfigTest), Filter=null)
2017-04-11 12:25:15,572 Log4j2-TF-1-ConfiguratonFileWatcher-2 WARN The
bufferSize is set to 8192 but bufferedIo is false: false
2017-04-11 12:25:15,573 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=filter, class=org.apache.logging.log4j.core.filter.ThresholdFilter].
2017-04-11 12:25:15,574 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createFilter(level="ERROR", onMatch="null", onMismatch="null")
2017-04-11 12:25:15,574 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=appender,
class=org.apache.logging.log4j.test.appender.ListAppender].
2017-04-11 12:25:15,575 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
ListAppender$Builder(name="List", entryPerNewLine="null", raw="null",
Layout=null, ThresholdFilter(ERROR))
2017-04-11 12:25:15,575 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
2017-04-11 12:25:15,576 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PatternLayout$Builder(pattern="%m%n", PatternSelector=null,
Configuration(PropertiesConfigTest), Replace=null, charset="null",
alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null",
header="null", footer="null")
2017-04-11 12:25:15,577 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=appender,
class=org.apache.logging.log4j.core.appender.ConsoleAppender].
2017-04-11 12:25:15,580 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
ConsoleAppender$Builder(target="null", follow="null", direct="null",
bufferedIo="null", bufferSize="null", immediateFlush="null",
ignoreExceptions="null", PatternLayout(%m%n), name="STDOUT",
Configuration(PropertiesConfigTest), Filter=null)
2017-04-11 12:25:15,580 Log4j2-TF-1-ConfiguratonFileWatcher-2 WARN Unable to
instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-04-11 12:25:15,581 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=appenders,
class=org.apache.logging.log4j.core.config.AppendersPlugin].
2017-04-11 12:25:15,581 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createAppenders(={File, List, STDOUT})
2017-04-11 12:25:15,581 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=filter, class=org.apache.logging.log4j.core.filter.ThresholdFilter].
2017-04-11 12:25:15,582 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createFilter(level="DEBUG", onMatch="null", onMismatch="null")
2017-04-11 12:25:15,582 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
Configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@6e9637fe
initialized
2017-04-11 12:25:15,583 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Starting
configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@6e9637fe
2017-04-11 12:25:15,583 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Log4j2
ConfigurationScheduler starting 1 threads
2017-04-11 12:25:15,583 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Started
configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@6e9637fe
OK.
2017-04-11 12:25:15,584 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Appender
File stopped with status true
2017-04-11 12:25:15,584 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Appender
STDOUT stopped with status true
2017-04-11 12:25:15,584 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Log4j2
ConfigurationScheduler shutting down threads in
java.util.concurrent.ScheduledThreadPoolExecutor@14a002b1[Running, pool size =
1, active threads = 0, queued tasks = 1, completed tasks = 1]
2017-04-11 12:25:15,585 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Stopped
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@7ac01ae4
OK
2017-04-11 12:25:15,587 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest
2017-04-11 12:25:15,587 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=StatusLogger
2017-04-11 12:25:15,588 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=ContextSelector
2017-04-11 12:25:15,588 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=org.apache.logging.log4j.test2
2017-04-11 12:25:15,589 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=
2017-04-11 12:25:15,589 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=org.apache.logging.log4j.test1
2017-04-11 12:25:15,589 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=List
2017-04-11 12:25:15,603 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=STDOUT
2017-04-11 12:25:15,603 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=File
2017-04-11 12:25:15,603 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
Reconfiguration completed for
org.apache.logging.log4j.core.PropertiesFileConfigTest
(org.apache.logging.log4j.core.LoggerContext@12339dd9)
2017-04-11 12:25:20,781 main DEBUG Stopping
LoggerContext[name=org.apache.logging.log4j.core.PropertiesFileConfigTest,
org.apache.logging.log4j.core.LoggerContext@12339dd9]...
2017-04-11 12:25:20,784 main DEBUG Shutting down FileManager
target/test-properties.log
2017-04-11 12:25:20,784 main DEBUG Shut down FileManager
target/test-properties.log, all resources released: true
2017-04-11 12:25:20,784 main DEBUG Appender File stopped with status true
2017-04-11 12:25:20,784 main DEBUG Shutting down OutputStreamManager
SYSTEM_OUT.false.false
2017-04-11 12:25:20,785 main DEBUG Shut down OutputStreamManager
SYSTEM_OUT.false.false, all resources released: true
2017-04-11 12:25:20,785 main DEBUG Appender STDOUT stopped with status true
2017-04-11 12:25:20,785 main DEBUG Log4j2 ConfigurationScheduler shutting down
threads in java.util.concurrent.ScheduledThreadPoolExecutor@3d19dc64[Running,
pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 5]
2017-04-11 12:25:20,785 main DEBUG Stopped
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@6e9637fe
OK
2017-04-11 12:25:20,786 main DEBUG Stopped
LoggerContext[name=org.apache.logging.log4j.core.PropertiesFileConfigTest,
org.apache.logging.log4j.core.LoggerContext@12339dd9] with status true
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.11 sec - in
org.apache.logging.log4j.core.PropertiesFileConfigTest
Running org.apache.logging.log4j.core.selector.ClassLoaderContextSelectorTest
ERROR StatusLogger No log4j2 configuration file found. Using default
configuration: logging only errors to the console. Set system property
'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2
internal initialization logging.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.944 sec - in
org.apache.logging.log4j.core.selector.ClassLoaderContextSelectorTest
Running org.apache.logging.log4j.core.ShutdownDisabledTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in
org.apache.logging.log4j.core.ShutdownDisabledTest
Running org.apache.logging.log4j.core.ShutdownTimeoutConfigurationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in
org.apache.logging.log4j.core.ShutdownTimeoutConfigurationTest
Running org.apache.logging.log4j.core.StrictXmlConfigTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec - in
org.apache.logging.log4j.core.StrictXmlConfigTest
Running org.apache.logging.log4j.core.TimestampMessageTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec - in
org.apache.logging.log4j.core.TimestampMessageTest
Running org.apache.logging.log4j.core.tools.GenerateCustomLoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.873 sec - in
org.apache.logging.log4j.core.tools.GenerateCustomLoggerTest
Running org.apache.logging.log4j.core.tools.GenerateExtendedLoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.466 sec - in
org.apache.logging.log4j.core.tools.GenerateExtendedLoggerTest
Running org.apache.logging.log4j.core.util.AssertTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in
org.apache.logging.log4j.core.util.AssertTest
Running org.apache.logging.log4j.core.util.ClockFactoryTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec - in
org.apache.logging.log4j.core.util.ClockFactoryTest
Running org.apache.logging.log4j.core.util.CronExpressionTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.729 sec - in
org.apache.logging.log4j.core.util.CronExpressionTest
Running org.apache.logging.log4j.core.util.datetime.FastDateParserSDFTest
Tests run: 276, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.222 sec -
in org.apache.logging.log4j.core.util.datetime.FastDateParserSDFTest
Running org.apache.logging.log4j.core.util.datetime.FastDateParserTest
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.014 sec - in
org.apache.logging.log4j.core.util.datetime.FastDateParserTest
Running
org.apache.logging.log4j.core.util.datetime.FastDateParser_MoreOrLessTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 sec - in
org.apache.logging.log4j.core.util.datetime.FastDateParser_MoreOrLessTest
Running
org.apache.logging.log4j.core.util.datetime.FastDateParser_TimeZoneStrategyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.058 sec - in
org.apache.logging.log4j.core.util.datetime.FastDateParser_TimeZoneStrategyTest
Running org.apache.logging.log4j.core.util.datetime.FixedDateFormatTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.689 sec - in
org.apache.logging.log4j.core.util.datetime.FixedDateFormatTest
Running org.apache.logging.log4j.core.util.DummyNanoClockTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in
org.apache.logging.log4j.core.util.DummyNanoClockTest
Running org.apache.logging.log4j.core.util.FileUtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec - in
org.apache.logging.log4j.core.util.FileUtilsTest
Running org.apache.logging.log4j.core.util.IntegersTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in
org.apache.logging.log4j.core.util.IntegersTest
Running org.apache.logging.log4j.core.util.JsonUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in
org.apache.logging.log4j.core.util.JsonUtilsTest
Running org.apache.logging.log4j.core.util.LoaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec - in
org.apache.logging.log4j.core.util.LoaderTest
Running org.apache.logging.log4j.core.util.NetUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec - in
org.apache.logging.log4j.core.util.NetUtilsTest
Running org.apache.logging.log4j.core.util.ShutdownCallbackRegistryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.84 sec - in
org.apache.logging.log4j.core.util.ShutdownCallbackRegistryTest
Running org.apache.logging.log4j.core.util.SystemClockTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.438 sec - in
org.apache.logging.log4j.core.util.SystemClockTest
Running org.apache.logging.log4j.core.util.SystemNanoClockTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in
org.apache.logging.log4j.core.util.SystemNanoClockTest
Running org.apache.logging.log4j.core.util.ThrowablesTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in
org.apache.logging.log4j.core.util.ThrowablesTest
Running org.apache.logging.log4j.core.util.UuidTest
Elapsed for 2000 UUIDS = 16111807360 Average = 8055903 ns
Elapsed for 200 UUIDS = 86180 Average = 430 ns
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.641 sec - in
org.apache.logging.log4j.core.util.UuidTest
Running org.apache.logging.log4j.core.util.WatchManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in
org.apache.logging.log4j.core.util.WatchManagerTest
Running org.apache.logging.log4j.MarkerMixInJsonTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.167 sec - in
org.apache.logging.log4j.MarkerMixInJsonTest
Running org.apache.logging.log4j.MarkerMixInXmlTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.838 sec - in
org.apache.logging.log4j.MarkerMixInXmlTest
Running org.apache.logging.log4j.MarkerMixInYamlTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.197 sec - in
org.apache.logging.log4j.MarkerMixInYamlTest
Running org.apache.logging.log4j.message.MutableLogEventWithReusableParamMsgTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec - in
org.apache.logging.log4j.message.MutableLogEventWithReusableParamMsgTest
Results :
Failed tests:
JeroMqAppenderTest.testClientServer:57 Appender named JeroMQAppender was null
in logger context org.apache.logging.log4j.core.LoggerContext@2474ec0
JeroMqAppenderTest.testMultiThreadedServer:84 Appender named JeroMQAppender
was null in logger context org.apache.logging.log4j.core.LoggerContext@2474ec0
JeroMqAppenderTest.testServerOnly:132 Appender named JeroMQAppender was null
in logger context org.apache.logging.log4j.core.LoggerContext@2474ec0
Tests run: 1856, Failures: 3, Errors: 0, Skipped: 17
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 ..................................... SUCCESS [ 3.271 s]
[INFO] Apache Log4j API ................................... SUCCESS [ 24.474 s]
[INFO] Apache Log4j Core .................................. FAILURE [16:23 min]
[INFO] Apache Log4j Core Integration Tests ................ SKIPPED
[INFO] Apache Log4j 1.x Compatibility API ................. SKIPPED
[INFO] Apache Log4j SLF4J Binding ......................... SKIPPED
[INFO] Apache Log4j to SLF4J Adapter ...................... SKIPPED
[INFO] Apache Log4j Commons Logging Bridge ................ SKIPPED
[INFO] Apache Log4j Flume Bridge .......................... SKIPPED
[INFO] Apache Log4j Web ................................... SKIPPED
[INFO] Apache Log4j Tag Library ........................... SKIPPED
[INFO] Apache Log4j JMX GUI ............................... SKIPPED
[INFO] Apache Log4j Samples ............................... SKIPPED
[INFO] Apache Log4j Samples: Flume - Common ............... SKIPPED
[INFO] Apache Log4j Samples: Flume - Remote ............... SKIPPED
[INFO] Apache Log4j Samples: Flume - Embedded ............. SKIPPED
[INFO] Apache Log4j Samples: Configuration ................ SKIPPED
[INFO] Apache Log4j Samples: LoggerProperties ............. SKIPPED
[INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SKIPPED
[INFO] Apache Log4j Samples: Scala API .................... SKIPPED
[INFO] Apache Log4j OSGi .................................. SKIPPED
[INFO] Apache Log4j BOM ................................... SKIPPED
[INFO] Apache Log4j NoSQL ................................. SKIPPED
[INFO] Apache Log4J Performance Tests ..................... SKIPPED
[INFO] Apache Log4j Streaming Interface ................... SKIPPED
[INFO] Apache Log4j JUL Adapter ........................... SKIPPED
[INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
[INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:53 min
[INFO] Finished at: 2017-04-11T12:26:27+00:00
[INFO] Final Memory: 62M/1467M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on
project log4j-core: There are test failures.
[ERROR]
[ERROR] Please refer to F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows
Slaves\Windows\jdk\JDK 1.7 (unlimited security) 64-bit Windows
only\log4j-core\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :log4j-core
Build step 'Execute Windows batch command' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]