java - log4j2 does not print messages fired in a thread -


i surprised log4j2 not print messages when executed in thread.

details

  • log4j2 version 2.6.2
  • debug , runtime affected
  • two standard appenders (file, console)
  • calls log.error("msg");, log.error("msg", e); or log.info("bad news", e);
  • runs in separate thread , subsequent log calls not represented
  • eclipse mars release (4.5.0)
  • java jdk 1.8.0_51
  • maven 3.x project launched out of eclipse
  • win 7 (professional)

init

private static final logger log = logmanager.getlogger(mainprocess.class);

configuration

<?xml version="1.0" encoding="utf-8"?> <configuration xmlns="http://logging.apache.org/log4j/2.0/config" packages="xyz.my.appenders"> <appenders>     <file name="file" filename="logfile.log" append="true">         <patternlayout pattern="%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n"/>     </file>     <console name="console" target="system_out">         <patternlayout pattern="%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n"/>     </console>     <limitappender name="log-viewer" numberoflines="30">         <patternlayout pattern="%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n"/>     </limitappender> </appenders> <loggers>     <logger name="xyz.my.application" level="debug"/>     <root level="debug">         <appenderref ref="console"/>         <appenderref ref="file"/>         <!-- <appenderref ref="log-viewer"/> -->     </root> </loggers> </configuration> 

trace of log4j2 (200 of 283 lines)

2016-07-20 09:42:14,396 main debug initializing configuration xmlconfiguration[location=c:\...\theproject\target\classes\log4j2.xml] 2016-07-20 09:42:14,409 main debug installed script engines 2016-07-20 09:42:15,040 main debug oracle nashorn version: 1.8.0_51, language: ecmascript, threading: not thread safe, compile: true, names: {nashorn, nashorn, js, js, javascript, javascript, ecmascript, ecmascript} 2016-07-20 09:42:15,115 main debug took 0.074225 seconds load 1 plugins package xyz.my.appenders 2016-07-20 09:42:15,115 main debug pluginmanager 'core' found 100 plugins 2016-07-20 09:42:15,116 main debug pluginmanager 'level' found 0 plugins 2016-07-20 09:42:15,119 main debug no scheduled items 2016-07-20 09:42:15,119 main debug pluginmanager 'lookup' found 13 plugins 2016-07-20 09:42:15,121 main debug building plugin[name=layout, class=org.apache.logging.log4j.core.layout.patternlayout]. 2016-07-20 09:42:15,132 main trace typeconverterregistry initializing. 2016-07-20 09:42:15,132 main debug pluginmanager 'typeconverter' found 23 plugins 2016-07-20 09:42:15,144 main debug patternlayout$builder(pattern="%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n", patternselector=null, configuration(c:\...\theproject\target\classes\log4j2.xml), replace=null, charset="null", alwayswriteexceptions="null", noconsolenoansi="null", header="null", footer="null") 2016-07-20 09:42:15,145 main debug pluginmanager 'converter' found 41 plugins 2016-07-20 09:42:15,179 main debug building plugin[name=appender, class=org.apache.logging.log4j.core.appender.fileappender]. 2016-07-20 09:42:15,185 main debug createappender(filename="logfile.log", append="true", locking="null", name="file", immediateflush="null", ignoreexceptions="null", bufferedio="null", buffersize="null", patternlayout(%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n), filter=null, advertise="null", advertiseuri="null", configuration(c:\...\theproject\target\classes\log4j2.xml)) 2016-07-20 09:42:15,189 main debug starting filemanager logfile.log 2016-07-20 09:42:15,189 main debug building plugin[name=layout, class=org.apache.logging.log4j.core.layout.patternlayout]. 2016-07-20 09:42:15,190 main debug patternlayout$builder(pattern="%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n", patternselector=null, configuration(c:\...\theproject\target\classes\log4j2.xml), replace=null, charset="null", alwayswriteexceptions="null", noconsolenoansi="null", header="null", footer="null") 2016-07-20 09:42:15,190 main debug building plugin[name=appender, class=org.apache.logging.log4j.core.appender.consoleappender]. 2016-07-20 09:42:15,192 main debug not in servletcontext environment, not loading weblookup plugin. 2016-07-20 09:42:15,193 main debug pluginmanager 'converter' found 41 plugins 2016-07-20 09:42:15,194 main debug jansi not installed, cannot find org.fusesource.jansi.windowsansioutputstream 2016-07-20 09:42:15,194 main debug starting outputstreammanager system_out.false-2 2016-07-20 09:42:15,202 main debug consoleappender$builder(patternlayout(%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n), filter=null, target="system_out", name="console", follow="null", ignoreexceptions="null") 2016-07-20 09:42:15,203 main debug jansi not installed, cannot find org.fusesource.jansi.windowsansioutputstream 2016-07-20 09:42:15,204 main debug starting outputstreammanager system_out.false 2016-07-20 09:42:15,204 main debug building plugin[name=layout, class=org.apache.logging.log4j.core.layout.patternlayout]. 2016-07-20 09:42:15,204 main debug patternlayout$builder(pattern="%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n", patternselector=null, configuration(c:\...\theproject\target\classes\log4j2.xml), replace=null, charset="null", alwayswriteexceptions="null", noconsolenoansi="null", header="null", footer="null") 2016-07-20 09:42:15,205 main debug building plugin[name=appender, class=xyz.my.appenders.limitmemoryappender]. 2016-07-20 09:42:15,205 main debug createappender(name="log-viewer", patternlayout(%d{yyyy-mm-dd hh:mm:ss.sss} [%t] [%p] %c{2} (%f:%l) - %m%n), numberoflines="30") 2016-07-20 09:42:15,206 main debug building plugin[name=appenders, class=org.apache.logging.log4j.core.config.appendersplugin]. 2016-07-20 09:42:15,207 main debug createappenders(={file, console, log-viewer}) 2016-07-20 09:42:15,207 main debug building plugin[name=logger, class=org.apache.logging.log4j.core.config.loggerconfig]. 2016-07-20 09:42:15,210 main debug createlogger(additivity="true", level="debug", name="xyz.my.project", includelocation="null", ={}, ={}, configuration(c:\...\theproject\target\classes\log4j2.xml), filter=null) 2016-07-20 09:42:15,213 main debug building plugin[name=appenderref, class=org.apache.logging.log4j.core.config.appenderref]. 2016-07-20 09:42:15,214 main debug createappenderref(ref="console", level="null", filter=null) 2016-07-20 09:42:15,214 main debug building plugin[name=appenderref, class=org.apache.logging.log4j.core.config.appenderref]. 2016-07-20 09:42:15,214 main debug createappenderref(ref="file", level="null", filter=null) 2016-07-20 09:42:15,214 main debug building plugin[name=appenderref, class=org.apache.logging.log4j.core.config.appenderref]. 2016-07-20 09:42:15,215 main debug createappenderref(ref="log-viewer", level="null", filter=null) 2016-07-20 09:42:15,215 main debug building plugin[name=root, class=org.apache.logging.log4j.core.config.loggerconfig$rootlogger]. 2016-07-20 09:42:15,216 main debug createlogger(additivity="null", level="debug", includelocation="null", ={console, file, log-viewer}, ={}, configuration(c:\...\theproject\target\classes\log4j2.xml), filter=null) 2016-07-20 09:42:15,217 main debug building plugin[name=loggers, class=org.apache.logging.log4j.core.config.loggersplugin]. 2016-07-20 09:42:15,217 main debug createloggers(={xyz.my.project, root}) 2016-07-20 09:42:15,219 main debug configuration xmlconfiguration[location=c:\...\theproject\target\classes\log4j2.xml] initialized 2016-07-20 09:42:15,219 main debug starting configuration xmlconfiguration[location=c:\...\theproject\target\classes\log4j2.xml] 2016-07-20 09:42:15,219 main debug started configuration xmlconfiguration[location=c:\...\theproject\target\classes\log4j2.xml] ok. 2016-07-20 09:42:15,220 main trace stopping org.apache.logging.log4j.core.config.defaultconfiguration@26a1ab54... 2016-07-20 09:42:15,220 main trace defaultconfiguration notified 1 reliabilitystrategies config stopped. 2016-07-20 09:42:15,221 main trace defaultconfiguration stopping root loggerconfig. 2016-07-20 09:42:15,221 main trace defaultconfiguration notifying reliabilitystrategies appenders stopped. 2016-07-20 09:42:15,222 main trace defaultconfiguration stopping remaining appenders. 2016-07-20 09:42:15,222 main debug shutting down outputstreammanager system_out.false-1 2016-07-20 09:42:15,222 main trace defaultconfiguration stopped 1 remaining appenders. 2016-07-20 09:42:15,222 main trace defaultconfiguration cleaning appenders 1 loggerconfigs. 2016-07-20 09:42:15,222 main debug stopped org.apache.logging.log4j.core.config.defaultconfiguration@26a1ab54 ok 2016-07-20 09:42:15,295 main trace reregistering mbeans after reconfigure. selector=org.apache.logging.log4j.core.selector.classloadercontextselector@74e52ef6 2016-07-20 09:42:15,295 main trace reregistering context (1/1): 'c387f44' org.apache.logging.log4j.core.loggercontext@6ed3ccb2 2016-07-20 09:42:15,297 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44' 2016-07-20 09:42:15,297 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=statuslogger' 2016-07-20 09:42:15,298 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=contextselector' 2016-07-20 09:42:15,298 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=loggers,name=*' 2016-07-20 09:42:15,298 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=appenders,name=*' 2016-07-20 09:42:15,299 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=asyncappenders,name=*' 2016-07-20 09:42:15,299 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=asyncloggerringbuffer' 2016-07-20 09:42:15,299 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=loggers,name=*,subtype=ringbuffer' 2016-07-20 09:42:15,301 main debug registering mbean org.apache.logging.log4j2:type=c387f44 2016-07-20 09:42:15,303 main debug registering mbean org.apache.logging.log4j2:type=c387f44,component=statuslogger 2016-07-20 09:42:15,305 main debug registering mbean org.apache.logging.log4j2:type=c387f44,component=contextselector 2016-07-20 09:42:15,307 main debug registering mbean org.apache.logging.log4j2:type=c387f44,component=loggers,name= 2016-07-20 09:42:15,308 main debug registering mbean org.apache.logging.log4j2:type=c387f44,component=loggers,name=xyz.my.myproject 2016-07-20 09:42:15,309 main debug registering mbean org.apache.logging.log4j2:type=c387f44,component=appenders,name=console 2016-07-20 09:42:15,310 main debug registering mbean org.apache.logging.log4j2:type=c387f44,component=appenders,name=file 2016-07-20 09:42:15,310 main debug registering mbean org.apache.logging.log4j2:type=c387f44,component=appenders,name=log-viewer 2016-07-20 09:42:15,312 main trace using default systemclock timestamps. 2016-07-20 09:42:15,312 main trace using dummynanoclock nanosecond timestamps. 2016-07-20 09:42:15,312 main debug reconfiguration complete context[name=c387f44] @ uri c:\...\theproject\target\classes\log4j2.xml (org.apache.logging.log4j.core.loggercontext@6ed3ccb2) optional classloader: null 2016-07-20 09:42:15,313 main debug shutdown hook enabled. registering new one. 2016-07-20 09:42:15,314 main debug loggercontext[name=c387f44, org.apache.logging.log4j.core.loggercontext@6ed3ccb2] started ok. 2016-07-20 09:42:15.501 [main] [debug] main.sqlhelpermain (sqlhelpermain.java:95) - adding icon 2016-07-20 09:42:16.168 [thread-2] [info] main.sqlhelpermain (sqlhelpermain.java:390) - sqlhelpermain.parsingfinished(true) 2016-07-20 09:42:16.424 [main] [debug] main.sqlhelpermain (sqlhelpermain.java:82) - open sqlhelperui 2016-07-20 09:42:17,652 main debug stopping loggercontext[name=c387f44, org.apache.logging.log4j.core.loggercontext@6ed3ccb2]... 2016-07-20 09:42:17,653 main trace unregistering 1 mbeans: [org.apache.logging.log4j2:type=c387f44] 2016-07-20 09:42:17,654 main trace unregistering 1 mbeans: [org.apache.logging.log4j2:type=c387f44,component=statuslogger] 2016-07-20 09:42:17,654 main trace unregistering 1 mbeans: [org.apache.logging.log4j2:type=c387f44,component=contextselector] 2016-07-20 09:42:17,654 main trace unregistering 2 mbeans: [org.apache.logging.log4j2:type=c387f44,component=loggers,name=xyz.my.project, org.apache.logging.log4j2:type=c387f44,component=loggers,name=] 2016-07-20 09:42:17,655 main trace unregistering 3 mbeans: [org.apache.logging.log4j2:type=c387f44,component=appenders,name=console, org.apache.logging.log4j2:type=c387f44,component=appenders,name=file, org.apache.logging.log4j2:type=c387f44,component=appenders,name=log-viewer] 2016-07-20 09:42:17,655 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=asyncappenders,name=*' 2016-07-20 09:42:17,656 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=asyncloggerringbuffer' 2016-07-20 09:42:17,657 main trace unregistering no mbeans found matching 'org.apache.logging.log4j2:type=c387f44,component=loggers,name=*,subtype=ringbuffer' 2016-07-20 09:42:17,657 main trace stopping xmlconfiguration[location=c:\...\theproject\target\classes\log4j2.xml]... 2016-07-20 09:42:17,658 main trace xmlconfiguration notified 3 reliabilitystrategies config stopped. 2016-07-20 09:42:17,658 main trace xmlconfiguration stopping 2 loggerconfigs. 2016-07-20 09:42:17,658 main trace xmlconfiguration stopping root loggerconfig. 2016-07-20 09:42:17,658 main trace xmlconfiguration notifying reliabilitystrategies appenders stopped. 2016-07-20 09:42:17,658 main trace xmlconfiguration stopping remaining appenders. 2016-07-20 09:42:17,658 main debug shutting down filemanager logfile.log 2016-07-20 09:42:17,659 main debug shutting down outputstreammanager system_out.false 2016-07-20 09:42:17,659 main trace xmlconfiguration stopped 3 remaining appenders. 2016-07-20 09:42:17,659 main trace xmlconfiguration cleaning appenders 3 loggerconfigs. 2016-07-20 09:42:17,659 main debug stopped xmlconfiguration[location=c:\...\theproject\target\classes\log4j2.xml] ok 2016-07-20 09:42:17,660 main debug stopped loggercontext[name=c387f44, org.apache.logging.log4j.core.loggercontext@6ed3ccb2]... 2016-07-20 09:42:27,713 awt-eventqueue-0 debug not in servletcontext environment, not loading weblookup plugin. 2016-07-20 09:42:27,713 awt-eventqueue-0 debug pluginmanager 'converter' found 41 plugins 2016-07-20 09:42:27,715 awt-eventqueue-0 debug jansi not installed, cannot find org.fusesource.jansi.windowsansioutputstream 2016-07-20 09:42:27,715 awt-eventqueue-0 debug starting outputstreammanager system_out.false-3 2016-07-20 09:42:27,716 awt-eventqueue-0 debug starting loggercontext[name=c387f44, org.apache.logging.log4j.core.loggercontext@35644357]... 2016-07-20 09:42:27,716 awt-eventqueue-0 debug reconfiguration started context[name=c387f44] @ uri null (org.apache.logging.log4j.core.loggercontext@35644357) optional classloader: null 2016-07-20 09:42:27,716 awt-eventqueue-0 debug using configurationfactory org.apache.logging.log4j.core.config.configurationfactory$factory@4d399216 2016-07-20 09:42:27,716 awt-eventqueue-0 trace trying find [log4j2-testc387f44.properties] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,717 awt-eventqueue-0 trace trying find [log4j2-testc387f44.properties] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,717 awt-eventqueue-0 trace trying find [log4j2-testc387f44.properties] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,718 awt-eventqueue-0 trace trying find [log4j2-testc387f44.properties] using classloader.getsystemresource(). 2016-07-20 09:42:27,718 awt-eventqueue-0 trace trying find [log4j2-testc387f44.yml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,719 awt-eventqueue-0 trace trying find [log4j2-testc387f44.yml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,720 awt-eventqueue-0 trace trying find [log4j2-testc387f44.yml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,721 awt-eventqueue-0 trace trying find [log4j2-testc387f44.yml] using classloader.getsystemresource(). 2016-07-20 09:42:27,721 awt-eventqueue-0 trace trying find [log4j2-testc387f44.yaml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,722 awt-eventqueue-0 trace trying find [log4j2-testc387f44.yaml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,722 awt-eventqueue-0 trace trying find [log4j2-testc387f44.yaml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,723 awt-eventqueue-0 trace trying find [log4j2-testc387f44.yaml] using classloader.getsystemresource(). 2016-07-20 09:42:27,723 awt-eventqueue-0 trace trying find [log4j2-testc387f44.json] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,724 awt-eventqueue-0 trace trying find [log4j2-testc387f44.json] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,724 awt-eventqueue-0 trace trying find [log4j2-testc387f44.json] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,724 awt-eventqueue-0 trace trying find [log4j2-testc387f44.json] using classloader.getsystemresource(). 2016-07-20 09:42:27,725 awt-eventqueue-0 trace trying find [log4j2-testc387f44.jsn] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,725 awt-eventqueue-0 trace trying find [log4j2-testc387f44.jsn] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,726 awt-eventqueue-0 trace trying find [log4j2-testc387f44.jsn] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,726 awt-eventqueue-0 trace trying find [log4j2-testc387f44.jsn] using classloader.getsystemresource(). 2016-07-20 09:42:27,727 awt-eventqueue-0 trace trying find [log4j2-testc387f44.xml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,727 awt-eventqueue-0 trace trying find [log4j2-testc387f44.xml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,728 awt-eventqueue-0 trace trying find [log4j2-testc387f44.xml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,728 awt-eventqueue-0 trace trying find [log4j2-testc387f44.xml] using classloader.getsystemresource(). 2016-07-20 09:42:27,728 awt-eventqueue-0 trace trying find [log4j2-test.properties] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,729 awt-eventqueue-0 trace trying find [log4j2-test.properties] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,729 awt-eventqueue-0 trace trying find [log4j2-test.properties] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,730 awt-eventqueue-0 trace trying find [log4j2-test.properties] using classloader.getsystemresource(). 2016-07-20 09:42:27,730 awt-eventqueue-0 trace trying find [log4j2-test.yml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,731 awt-eventqueue-0 trace trying find [log4j2-test.yml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,731 awt-eventqueue-0 trace trying find [log4j2-test.yml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,732 awt-eventqueue-0 trace trying find [log4j2-test.yml] using classloader.getsystemresource(). 2016-07-20 09:42:27,732 awt-eventqueue-0 trace trying find [log4j2-test.yaml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,732 awt-eventqueue-0 trace trying find [log4j2-test.yaml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,733 awt-eventqueue-0 trace trying find [log4j2-test.yaml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,733 awt-eventqueue-0 trace trying find [log4j2-test.yaml] using classloader.getsystemresource(). 2016-07-20 09:42:27,734 awt-eventqueue-0 trace trying find [log4j2-test.json] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,734 awt-eventqueue-0 trace trying find [log4j2-test.json] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,735 awt-eventqueue-0 trace trying find [log4j2-test.json] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,735 awt-eventqueue-0 trace trying find [log4j2-test.json] using classloader.getsystemresource(). 2016-07-20 09:42:27,735 awt-eventqueue-0 trace trying find [log4j2-test.jsn] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,736 awt-eventqueue-0 trace trying find [log4j2-test.jsn] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,736 awt-eventqueue-0 trace trying find [log4j2-test.jsn] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,737 awt-eventqueue-0 trace trying find [log4j2-test.jsn] using classloader.getsystemresource(). 2016-07-20 09:42:27,737 awt-eventqueue-0 trace trying find [log4j2-test.xml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,737 awt-eventqueue-0 trace trying find [log4j2-test.xml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,738 awt-eventqueue-0 trace trying find [log4j2-test.xml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,738 awt-eventqueue-0 trace trying find [log4j2-test.xml] using classloader.getsystemresource(). 2016-07-20 09:42:27,738 awt-eventqueue-0 trace trying find [log4j2c387f44.properties] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,739 awt-eventqueue-0 trace trying find [log4j2c387f44.properties] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,739 awt-eventqueue-0 trace trying find [log4j2c387f44.properties] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,740 awt-eventqueue-0 trace trying find [log4j2c387f44.properties] using classloader.getsystemresource(). 2016-07-20 09:42:27,740 awt-eventqueue-0 trace trying find [log4j2c387f44.yml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,740 awt-eventqueue-0 trace trying find [log4j2c387f44.yml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,741 awt-eventqueue-0 trace trying find [log4j2c387f44.yml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,741 awt-eventqueue-0 trace trying find [log4j2c387f44.yml] using classloader.getsystemresource(). 2016-07-20 09:42:27,742 awt-eventqueue-0 trace trying find [log4j2c387f44.yaml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,742 awt-eventqueue-0 trace trying find [log4j2c387f44.yaml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,742 awt-eventqueue-0 trace trying find [log4j2c387f44.yaml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,743 awt-eventqueue-0 trace trying find [log4j2c387f44.yaml] using classloader.getsystemresource(). 2016-07-20 09:42:27,743 awt-eventqueue-0 trace trying find [log4j2c387f44.json] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,744 awt-eventqueue-0 trace trying find [log4j2c387f44.json] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,744 awt-eventqueue-0 trace trying find [log4j2c387f44.json] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,744 awt-eventqueue-0 trace trying find [log4j2c387f44.json] using classloader.getsystemresource(). 2016-07-20 09:42:27,745 awt-eventqueue-0 trace trying find [log4j2c387f44.jsn] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,745 awt-eventqueue-0 trace trying find [log4j2c387f44.jsn] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,746 awt-eventqueue-0 trace trying find [log4j2c387f44.jsn] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,746 awt-eventqueue-0 trace trying find [log4j2c387f44.jsn] using classloader.getsystemresource(). 2016-07-20 09:42:27,746 awt-eventqueue-0 trace trying find [log4j2c387f44.xml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,747 awt-eventqueue-0 trace trying find [log4j2c387f44.xml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,747 awt-eventqueue-0 trace trying find [log4j2c387f44.xml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,747 awt-eventqueue-0 trace trying find [log4j2c387f44.xml] using classloader.getsystemresource(). 2016-07-20 09:42:27,748 awt-eventqueue-0 trace trying find [log4j2.properties] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,748 awt-eventqueue-0 trace trying find [log4j2.properties] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,748 awt-eventqueue-0 trace trying find [log4j2.properties] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,749 awt-eventqueue-0 trace trying find [log4j2.properties] using classloader.getsystemresource(). 2016-07-20 09:42:27,749 awt-eventqueue-0 trace trying find [log4j2.yml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,750 awt-eventqueue-0 trace trying find [log4j2.yml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,750 awt-eventqueue-0 trace trying find [log4j2.yml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,750 awt-eventqueue-0 trace trying find [log4j2.yml] using classloader.getsystemresource(). 2016-07-20 09:42:27,751 awt-eventqueue-0 trace trying find [log4j2.yaml] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,751 awt-eventqueue-0 trace trying find [log4j2.yaml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,751 awt-eventqueue-0 trace trying find [log4j2.yaml] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,752 awt-eventqueue-0 trace trying find [log4j2.yaml] using classloader.getsystemresource(). 2016-07-20 09:42:27,752 awt-eventqueue-0 trace trying find [log4j2.json] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,753 awt-eventqueue-0 trace trying find [log4j2.json] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,753 awt-eventqueue-0 trace trying find [log4j2.json] using sun.misc.launcher$appclassloader@c387f44 class loader. 2016-07-20 09:42:27,753 awt-eventqueue-0 trace trying find [log4j2.json] using classloader.getsystemresource(). 2016-07-20 09:42:27,754 awt-eventqueue-0 trace trying find [log4j2.jsn] using context class loader sun.misc.launcher$appclassloader@c387f44. 2016-07-20 09:42:27,754 awt-eventqueue-0 trace trying find [log4j2.jsn] using sun.misc.launcher$appclassloader@c387f44 class loader. 

please let me know if wish further details.

i'd sure see application. log looks application has ended. awt-eventqueue-0 (a new thread?) starts running. logging has shutdown tries reinitialize has no idea configuration use. solve threads application creates need run before main thread ends.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -