You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Describe the bug
Log4j configuration file cannot be used correctly. It is picking log4j2 from location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml
This is causing override to the log4j configuration specified in environment variable
Details
Conductor version:3.15.0
Persistence implementation: MySQL
Queue implementation: MySQL
Lock: Redis?
Workflow definition:
Task definition:
Event handler definition:
In Docker file, For conductor server environment config is as below for debug
conductor-server:
environment:
- CONFIG_PROP=config-mysql.properties
- JAVA_OPTS=-Dlog4j2.debug=true -Dlog4j2.configurationFile=/app/config/log4j-file-appender.properties
When we specify the logging configuration in the docker file. It is still picking the log file from below location
DEBUG StatusLogger LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0] started OK with configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml].
Complete Logs
DEBUG StatusLogger Using ShutdownCallbackRegistry class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
TRACE StatusLogger Log4jLoggerFactory.getContext() found anchor class com.netflix.conductor.Conductor
DEBUG StatusLogger Took 0.106096 seconds to load 228 plugins from org.springframework.boot.loader.LaunchedURLClassLoader@17a7cec2
DEBUG StatusLogger PluginManager 'Converter' found 48 plugins
DEBUG StatusLogger Starting OutputStreamManager SYSTEM_OUT.false.false-1
DEBUG StatusLogger Initializing Thread Context Data Service Providers
DEBUG StatusLogger Starting LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0]...
DEBUG StatusLogger Reconfiguration started for context[name=17a7cec2] at URI null (org.apache.logging.log4j.core.LoggerContext@31b7dea0) with optional ClassLoader: null
DEBUG StatusLogger Thread Context Data Service Provider initialization complete
DEBUG StatusLogger PluginManager 'ConfigurationFactory' found 5 plugins
DEBUG StatusLogger Using configurationFactory org.apache.logging.log4j.core.config.ConfigurationFactory$Factory@3ecf72fd
DEBUG StatusLogger Apache Log4j Core 2.17.1 initializing configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c
DEBUG StatusLogger Installed 2 script engines
INFO StatusLogger Cannot initialize scripting support because this JRE does not support it.
java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "javax.script.ScriptEngine.get(String)" is null
at org.luaj.vm2.script.LuaScriptEngineFactory.getParameter(Unknown Source)
at org.apache.logging.log4j.core.script.ScriptManager.(ScriptManager.java:84)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:225)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:137)
at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:55)
at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47)
at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
at com.netflix.conductor.Conductor.(Conductor.java:31)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
DEBUG StatusLogger PluginManager 'Core' found 128 plugins
DEBUG StatusLogger PluginManager 'Level' found 0 plugins
DEBUG StatusLogger PluginManager 'Lookup' found 17 plugins
DEBUG StatusLogger Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
DEBUG StatusLogger createLoggers(={})
DEBUG StatusLogger Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin].
DEBUG StatusLogger createAppenders(={})
WARN StatusLogger No Root logger was configured, creating default ERROR-level Root logger with Console appender
DEBUG StatusLogger PluginManager 'Converter' found 48 plugins
DEBUG StatusLogger Starting OutputStreamManager SYSTEM_OUT.false.false-2
DEBUG StatusLogger Configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c initialized
DEBUG StatusLogger Starting configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c
DEBUG StatusLogger Started configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c OK.
TRACE StatusLogger Stopping org.apache.logging.log4j.core.config.DefaultConfiguration@383534aa...
TRACE StatusLogger DefaultConfiguration notified 1 ReliabilityStrategies that config will be stopped.
TRACE StatusLogger DefaultConfiguration stopping root LoggerConfig.
TRACE StatusLogger DefaultConfiguration notifying ReliabilityStrategies that appenders will be stopped.
TRACE StatusLogger DefaultConfiguration stopping remaining Appenders.
DEBUG StatusLogger Shutting down OutputStreamManager SYSTEM_OUT.false.false-1
DEBUG StatusLogger OutputStream closed
DEBUG StatusLogger Shut down OutputStreamManager SYSTEM_OUT.false.false-1, all resources released: true
DEBUG StatusLogger Appender DefaultConsole-1 stopped with status true
TRACE StatusLogger DefaultConfiguration stopped 1 remaining Appenders.
TRACE StatusLogger DefaultConfiguration cleaning Appenders from 1 LoggerConfigs.
DEBUG StatusLogger Stopped org.apache.logging.log4j.core.config.DefaultConfiguration@383534aa OK
TRACE StatusLogger Reregistering MBeans after reconfigure. Selector=org.apache.logging.log4j.core.selector.ClassLoaderContextSelector@2641e737
TRACE StatusLogger Reregistering context (1/1): '17a7cec2' org.apache.logging.log4j.core.LoggerContext@31b7dea0
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=StatusLogger'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=ContextSelector'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name='
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Appenders,name='
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=AsyncAppenders,name='
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=AsyncLoggerRingBuffer'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=,subtype=RingBuffer'
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=StatusLogger
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=ContextSelector
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Appenders,name=DefaultConsole-2
TRACE StatusLogger Using default SystemClock for timestamps.
DEBUG StatusLogger org.apache.logging.log4j.core.util.SystemClock supports precise timestamps.
TRACE StatusLogger Using DummyNanoClock for nanosecond timestamps.
DEBUG StatusLogger Reconfiguration complete for context[name=17a7cec2] at URI /app/config/log4j-file-appender.properties (org.apache.logging.log4j.core.LoggerContext@31b7dea0) with optional ClassLoader: null
DEBUG StatusLogger Shutdown hook enabled. Registering a new one.
DEBUG StatusLogger LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0] started OK.
DEBUG StatusLogger Using configurationFactory org.apache.logging.log4j.core.config.ConfigurationFactory$Factory@3ecf72fd
DEBUG StatusLogger Closing ZipInflaterInputStream org.springframework.boot.loader.jar.ZipInflaterInputStream@1bd4fdd
DEBUG StatusLogger Loaded configuration from jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml
DEBUG StatusLogger Starting LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0] with configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml]...
DEBUG StatusLogger Apache Log4j Core 2.17.1 initializing configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml]
DEBUG StatusLogger Installed 2 script engines
INFO StatusLogger Cannot initialize scripting support because this JRE does not support it.
java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "javax.script.ScriptEngine.get(String)" is null
at org.luaj.vm2.script.LuaScriptEngineFactory.getParameter(Unknown Source)
at org.apache.logging.log4j.core.script.ScriptManager.(ScriptManager.java:84)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:225)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:302)
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:227)
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadDefaults(Log4J2LoggingSystem.java:179)
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:83)
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:60)
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.initialize(Log4J2LoggingSystem.java:169)
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:313)
at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:282)
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:240)
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:216)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85)
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114)
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:339)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:297)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at com.netflix.conductor.Conductor.main(Conductor.java:36)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
DEBUG StatusLogger PluginManager 'Core' found 128 plugins
DEBUG StatusLogger PluginManager 'Level' found 0 plugins
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
TRACE StatusLogger TypeConverterRegistry initializing.
DEBUG StatusLogger PluginManager 'TypeConverter' found 26 plugins
DEBUG StatusLogger createProperty(name="LOG_EXCEPTION_CONVERSION_WORD", value="%xwEx")
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
DEBUG StatusLogger createProperty(name="LOG_LEVEL_PATTERN", value="%5p")
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
DEBUG StatusLogger createProperty(name="LOG_DATEFORMAT_PATTERN", value="yyyy-MM-dd HH:mm:ss.SSS")
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
DEBUG StatusLogger createProperty(name="CONSOLE_LOG_PATTERN", value="%clr{%d{${sys:LOG_DATEFORMAT_PATTERN}}}{faint} %clr{${sys:LOG_LEVEL_PATTERN}} %clr{%pid}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}")
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
DEBUG StatusLogger createProperty(name="FILE_LOG_PATTERN", value="%d{${LOG_DATEFORMAT_PATTERN}} ${LOG_LEVEL_PATTERN} %pid --- [%t] %-40.40c{1.} : %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}")
DEBUG StatusLogger Building Plugin[name=properties, class=org.apache.logging.log4j.core.config.PropertiesPlugin].
DEBUG StatusLogger configureSubstitutor(={LOG_EXCEPTION_CONVERSION_WORD=%xwEx, LOG_LEVEL_PATTERN=%5p, LOG_DATEFORMAT_PATTERN=yyyy-MM-dd HH:mm:ss.SSS, CONSOLE_LOG_PATTERN=%clr{%d{${sys:LOG_DATEFORMAT_PATTERN}}}{faint} %clr{${sys:LOG_LEVEL_PATTERN}} %clr{%pid}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}, FILE_LOG_PATTERN=%d{${LOG_DATEFORMAT_PATTERN}} ${LOG_LEVEL_PATTERN} %pid --- [%t] %-40.40c{1.} : %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml))
DEBUG StatusLogger PluginManager 'Lookup' found 17 plugins
DEBUG StatusLogger Building Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
DEBUG StatusLogger PatternLayout$Builder(pattern="%clr{%d{yyyy-MM-dd HH:mm:ss.SSS}}{faint} %clr{%5p} %clr{%pid}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n%xwEx", PatternSelector=null, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Replace=null, charset="UTF-8", alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null", header="null", footer="null")
DEBUG StatusLogger PluginManager 'Converter' found 48 plugins
DEBUG StatusLogger Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.ConsoleAppender].
DEBUG StatusLogger ConsoleAppender$Builder(target="SYSTEM_OUT", follow="true", direct="null", bufferedIo="null", bufferSize="null", immediateFlush="null", ignoreExceptions="null", PatternLayout(%clr{%d{yyyy-MM-dd HH:mm:ss.SSS}}{faint} %clr{%5p} %clr{%pid}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n%xwEx), name="Console", Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null, ={})
DEBUG StatusLogger Starting OutputStreamManager SYSTEM_OUT.true.false
DEBUG StatusLogger Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin].
DEBUG StatusLogger createAppenders(={Console})
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="ERROR", name="org.apache.catalina.startup.DigesterFactory", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="ERROR", name="org.apache.catalina.util.LifecycleBase", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.apache.coyote.http11.Http11NioProtocol", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.apache.sshd.common.util.SecurityUtils", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.apache.tomcat.util.net.NioSelectorPool", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="ERROR", name="org.eclipse.jetty.util.component.AbstractLifeCycle", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.hibernate.validator.internal.util.Version", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.springframework.boot.actuate.endpoint.jmx", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
DEBUG StatusLogger createAppenderRef(ref="Console", level="null", Filter=null)
DEBUG StatusLogger Building Plugin[name=root, class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger].
DEBUG StatusLogger createLogger(additivity="null", level="INFO", includeLocation="null", ={Console}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
DEBUG StatusLogger createLoggers(={org.apache.catalina.startup.DigesterFactory, org.apache.catalina.util.LifecycleBase, org.apache.coyote.http11.Http11NioProtocol, org.apache.sshd.common.util.SecurityUtils, org.apache.tomcat.util.net.NioSelectorPool, org.eclipse.jetty.util.component.AbstractLifeCycle, org.hibernate.validator.internal.util.Version, org.springframework.boot.actuate.endpoint.jmx, root})
DEBUG StatusLogger Configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml] initialized
DEBUG StatusLogger Starting configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml]
DEBUG StatusLogger Started configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml] OK.
TRACE StatusLogger Stopping org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c...
TRACE StatusLogger PropertiesConfiguration notified 1 ReliabilityStrategies that config will be stopped.
TRACE StatusLogger PropertiesConfiguration stopping root LoggerConfig.
TRACE StatusLogger PropertiesConfiguration notifying ReliabilityStrategies that appenders will be stopped.
TRACE StatusLogger PropertiesConfiguration stopping remaining Appenders.
DEBUG StatusLogger Shutting down OutputStreamManager SYSTEM_OUT.false.false-2
DEBUG StatusLogger OutputStream closed
DEBUG StatusLogger Shut down OutputStreamManager SYSTEM_OUT.false.false-2, all resources released: true
DEBUG StatusLogger Appender DefaultConsole-2 stopped with status true
TRACE StatusLogger PropertiesConfiguration stopped 1 remaining Appenders.
TRACE StatusLogger PropertiesConfiguration cleaning Appenders from 1 LoggerConfigs.
DEBUG StatusLogger Stopped org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c OK
TRACE StatusLogger Reregistering MBeans after reconfigure. Selector=org.apache.logging.log4j.core.selector.ClassLoaderContextSelector@2641e737
TRACE StatusLogger Reregistering context (1/1): '17a7cec2' org.apache.logging.log4j.core.LoggerContext@31b7dea0
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=17a7cec2]
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=17a7cec2,component=StatusLogger]
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=17a7cec2,component=ContextSelector]
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name='
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=17a7cec2,component=Appenders,name=DefaultConsole-2]
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=AsyncAppenders,name='
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=AsyncLoggerRingBuffer'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=*,subtype=RingBuffer'
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=StatusLogger
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=ContextSelector
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.tomcat.util.net.NioSelectorPool
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.hibernate.validator.internal.util.Version
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.coyote.http11.Http11NioProtocol
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.springframework.boot.actuate.endpoint.jmx
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.catalina.startup.DigesterFactory
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.eclipse.jetty.util.component.AbstractLifeCycle
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.catalina.util.LifecycleBase
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.sshd.common.util.SecurityUtils
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Appenders,name=Console
TRACE StatusLogger Using DummyNanoClock for nanosecond timestamps.
DEBUG StatusLogger LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0] started OK with configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml].
Describe the bug
Log4j configuration file cannot be used correctly. It is picking log4j2 from location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml
This is causing override to the log4j configuration specified in environment variable
Details
Conductor version:3.15.0
Persistence implementation: MySQL
Queue implementation: MySQL
Lock: Redis?
Workflow definition:
Task definition:
Event handler definition:
In Docker file, For conductor server environment config is as below for debug
conductor-server:
environment:
- CONFIG_PROP=config-mysql.properties
- JAVA_OPTS=-Dlog4j2.debug=true -Dlog4j2.configurationFile=/app/config/log4j-file-appender.properties
When we specify the logging configuration in the docker file. It is still picking the log file from below location
DEBUG StatusLogger LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0] started OK with configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml].
Complete Logs
DEBUG StatusLogger Using ShutdownCallbackRegistry class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
TRACE StatusLogger Log4jLoggerFactory.getContext() found anchor class com.netflix.conductor.Conductor
DEBUG StatusLogger Took 0.106096 seconds to load 228 plugins from org.springframework.boot.loader.LaunchedURLClassLoader@17a7cec2
DEBUG StatusLogger PluginManager 'Converter' found 48 plugins
DEBUG StatusLogger Starting OutputStreamManager SYSTEM_OUT.false.false-1
DEBUG StatusLogger Initializing Thread Context Data Service Providers
DEBUG StatusLogger Starting LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0]...
DEBUG StatusLogger Reconfiguration started for context[name=17a7cec2] at URI null (org.apache.logging.log4j.core.LoggerContext@31b7dea0) with optional ClassLoader: null
DEBUG StatusLogger Thread Context Data Service Provider initialization complete
DEBUG StatusLogger PluginManager 'ConfigurationFactory' found 5 plugins
DEBUG StatusLogger Using configurationFactory org.apache.logging.log4j.core.config.ConfigurationFactory$Factory@3ecf72fd
DEBUG StatusLogger Apache Log4j Core 2.17.1 initializing configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c
DEBUG StatusLogger Installed 2 script engines
INFO StatusLogger Cannot initialize scripting support because this JRE does not support it.
java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "javax.script.ScriptEngine.get(String)" is null
at org.luaj.vm2.script.LuaScriptEngineFactory.getParameter(Unknown Source)
at org.apache.logging.log4j.core.script.ScriptManager.(ScriptManager.java:84)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:225)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:137)
at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:55)
at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47)
at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
at com.netflix.conductor.Conductor.(Conductor.java:31)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
DEBUG StatusLogger PluginManager 'Core' found 128 plugins
DEBUG StatusLogger PluginManager 'Level' found 0 plugins
DEBUG StatusLogger PluginManager 'Lookup' found 17 plugins
DEBUG StatusLogger Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
DEBUG StatusLogger createLoggers(={})
DEBUG StatusLogger Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin].
DEBUG StatusLogger createAppenders(={})
WARN StatusLogger No Root logger was configured, creating default ERROR-level Root logger with Console appender
DEBUG StatusLogger PluginManager 'Converter' found 48 plugins
DEBUG StatusLogger Starting OutputStreamManager SYSTEM_OUT.false.false-2
DEBUG StatusLogger Configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c initialized
DEBUG StatusLogger Starting configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c
DEBUG StatusLogger Started configuration org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c OK.
TRACE StatusLogger Stopping org.apache.logging.log4j.core.config.DefaultConfiguration@383534aa...
TRACE StatusLogger DefaultConfiguration notified 1 ReliabilityStrategies that config will be stopped.
TRACE StatusLogger DefaultConfiguration stopping root LoggerConfig.
TRACE StatusLogger DefaultConfiguration notifying ReliabilityStrategies that appenders will be stopped.
TRACE StatusLogger DefaultConfiguration stopping remaining Appenders.
DEBUG StatusLogger Shutting down OutputStreamManager SYSTEM_OUT.false.false-1
DEBUG StatusLogger OutputStream closed
DEBUG StatusLogger Shut down OutputStreamManager SYSTEM_OUT.false.false-1, all resources released: true
DEBUG StatusLogger Appender DefaultConsole-1 stopped with status true
TRACE StatusLogger DefaultConfiguration stopped 1 remaining Appenders.
TRACE StatusLogger DefaultConfiguration cleaning Appenders from 1 LoggerConfigs.
DEBUG StatusLogger Stopped org.apache.logging.log4j.core.config.DefaultConfiguration@383534aa OK
TRACE StatusLogger Reregistering MBeans after reconfigure. Selector=org.apache.logging.log4j.core.selector.ClassLoaderContextSelector@2641e737
TRACE StatusLogger Reregistering context (1/1): '17a7cec2' org.apache.logging.log4j.core.LoggerContext@31b7dea0
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=StatusLogger'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=ContextSelector'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name='
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Appenders,name='
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=AsyncAppenders,name='
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=AsyncLoggerRingBuffer'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=,subtype=RingBuffer'
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=StatusLogger
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=ContextSelector
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Appenders,name=DefaultConsole-2
TRACE StatusLogger Using default SystemClock for timestamps.
DEBUG StatusLogger org.apache.logging.log4j.core.util.SystemClock supports precise timestamps.
TRACE StatusLogger Using DummyNanoClock for nanosecond timestamps.
DEBUG StatusLogger Reconfiguration complete for context[name=17a7cec2] at URI /app/config/log4j-file-appender.properties (org.apache.logging.log4j.core.LoggerContext@31b7dea0) with optional ClassLoader: null
DEBUG StatusLogger Shutdown hook enabled. Registering a new one.
DEBUG StatusLogger LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0] started OK.
DEBUG StatusLogger Using configurationFactory org.apache.logging.log4j.core.config.ConfigurationFactory$Factory@3ecf72fd
DEBUG StatusLogger Closing ZipInflaterInputStream org.springframework.boot.loader.jar.ZipInflaterInputStream@1bd4fdd
DEBUG StatusLogger Loaded configuration from jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml
DEBUG StatusLogger Starting LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0] with configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml]...
DEBUG StatusLogger Apache Log4j Core 2.17.1 initializing configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml]
DEBUG StatusLogger Installed 2 script engines
INFO StatusLogger Cannot initialize scripting support because this JRE does not support it.
java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "javax.script.ScriptEngine.get(String)" is null
at org.luaj.vm2.script.LuaScriptEngineFactory.getParameter(Unknown Source)
at org.apache.logging.log4j.core.script.ScriptManager.(ScriptManager.java:84)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:225)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:302)
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:227)
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadDefaults(Log4J2LoggingSystem.java:179)
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:83)
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:60)
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.initialize(Log4J2LoggingSystem.java:169)
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:313)
at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:282)
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:240)
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:216)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85)
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114)
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:339)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:297)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at com.netflix.conductor.Conductor.main(Conductor.java:36)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
DEBUG StatusLogger PluginManager 'Core' found 128 plugins
DEBUG StatusLogger PluginManager 'Level' found 0 plugins
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
TRACE StatusLogger TypeConverterRegistry initializing.
DEBUG StatusLogger PluginManager 'TypeConverter' found 26 plugins
DEBUG StatusLogger createProperty(name="LOG_EXCEPTION_CONVERSION_WORD", value="%xwEx")
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
DEBUG StatusLogger createProperty(name="LOG_LEVEL_PATTERN", value="%5p")
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
DEBUG StatusLogger createProperty(name="LOG_DATEFORMAT_PATTERN", value="yyyy-MM-dd HH:mm:ss.SSS")
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
DEBUG StatusLogger createProperty(name="CONSOLE_LOG_PATTERN", value="%clr{%d{${sys:LOG_DATEFORMAT_PATTERN}}}{faint} %clr{${sys:LOG_LEVEL_PATTERN}} %clr{%pid}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}")
DEBUG StatusLogger Building Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
DEBUG StatusLogger createProperty(name="FILE_LOG_PATTERN", value="%d{${LOG_DATEFORMAT_PATTERN}} ${LOG_LEVEL_PATTERN} %pid --- [%t] %-40.40c{1.} : %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}")
DEBUG StatusLogger Building Plugin[name=properties, class=org.apache.logging.log4j.core.config.PropertiesPlugin].
DEBUG StatusLogger configureSubstitutor(={LOG_EXCEPTION_CONVERSION_WORD=%xwEx, LOG_LEVEL_PATTERN=%5p, LOG_DATEFORMAT_PATTERN=yyyy-MM-dd HH:mm:ss.SSS, CONSOLE_LOG_PATTERN=%clr{%d{${sys:LOG_DATEFORMAT_PATTERN}}}{faint} %clr{${sys:LOG_LEVEL_PATTERN}} %clr{%pid}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}, FILE_LOG_PATTERN=%d{${LOG_DATEFORMAT_PATTERN}} ${LOG_LEVEL_PATTERN} %pid --- [%t] %-40.40c{1.} : %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml))
DEBUG StatusLogger PluginManager 'Lookup' found 17 plugins
DEBUG StatusLogger Building Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
DEBUG StatusLogger PatternLayout$Builder(pattern="%clr{%d{yyyy-MM-dd HH:mm:ss.SSS}}{faint} %clr{%5p} %clr{%pid}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n%xwEx", PatternSelector=null, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Replace=null, charset="UTF-8", alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null", header="null", footer="null")
DEBUG StatusLogger PluginManager 'Converter' found 48 plugins
DEBUG StatusLogger Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.ConsoleAppender].
DEBUG StatusLogger ConsoleAppender$Builder(target="SYSTEM_OUT", follow="true", direct="null", bufferedIo="null", bufferSize="null", immediateFlush="null", ignoreExceptions="null", PatternLayout(%clr{%d{yyyy-MM-dd HH:mm:ss.SSS}}{faint} %clr{%5p} %clr{%pid}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n%xwEx), name="Console", Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null, ={})
DEBUG StatusLogger Starting OutputStreamManager SYSTEM_OUT.true.false
DEBUG StatusLogger Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin].
DEBUG StatusLogger createAppenders(={Console})
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="ERROR", name="org.apache.catalina.startup.DigesterFactory", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="ERROR", name="org.apache.catalina.util.LifecycleBase", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.apache.coyote.http11.Http11NioProtocol", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.apache.sshd.common.util.SecurityUtils", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.apache.tomcat.util.net.NioSelectorPool", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="ERROR", name="org.eclipse.jetty.util.component.AbstractLifeCycle", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.hibernate.validator.internal.util.Version", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
DEBUG StatusLogger createLogger(additivity="true", level="WARN", name="org.springframework.boot.actuate.endpoint.jmx", includeLocation="null", ={}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
DEBUG StatusLogger createAppenderRef(ref="Console", level="null", Filter=null)
DEBUG StatusLogger Building Plugin[name=root, class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger].
DEBUG StatusLogger createLogger(additivity="null", level="INFO", includeLocation="null", ={Console}, ={}, Configuration(jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml), Filter=null)
DEBUG StatusLogger Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
DEBUG StatusLogger createLoggers(={org.apache.catalina.startup.DigesterFactory, org.apache.catalina.util.LifecycleBase, org.apache.coyote.http11.Http11NioProtocol, org.apache.sshd.common.util.SecurityUtils, org.apache.tomcat.util.net.NioSelectorPool, org.eclipse.jetty.util.component.AbstractLifeCycle, org.hibernate.validator.internal.util.Version, org.springframework.boot.actuate.endpoint.jmx, root})
DEBUG StatusLogger Configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml] initialized
DEBUG StatusLogger Starting configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml]
DEBUG StatusLogger Started configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml] OK.
TRACE StatusLogger Stopping org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c...
TRACE StatusLogger PropertiesConfiguration notified 1 ReliabilityStrategies that config will be stopped.
TRACE StatusLogger PropertiesConfiguration stopping root LoggerConfig.
TRACE StatusLogger PropertiesConfiguration notifying ReliabilityStrategies that appenders will be stopped.
TRACE StatusLogger PropertiesConfiguration stopping remaining Appenders.
DEBUG StatusLogger Shutting down OutputStreamManager SYSTEM_OUT.false.false-2
DEBUG StatusLogger OutputStream closed
DEBUG StatusLogger Shut down OutputStreamManager SYSTEM_OUT.false.false-2, all resources released: true
DEBUG StatusLogger Appender DefaultConsole-2 stopped with status true
TRACE StatusLogger PropertiesConfiguration stopped 1 remaining Appenders.
TRACE StatusLogger PropertiesConfiguration cleaning Appenders from 1 LoggerConfigs.
DEBUG StatusLogger Stopped org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2aafb23c OK
TRACE StatusLogger Reregistering MBeans after reconfigure. Selector=org.apache.logging.log4j.core.selector.ClassLoaderContextSelector@2641e737
TRACE StatusLogger Reregistering context (1/1): '17a7cec2' org.apache.logging.log4j.core.LoggerContext@31b7dea0
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=17a7cec2]
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=17a7cec2,component=StatusLogger]
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=17a7cec2,component=ContextSelector]
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name='
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=17a7cec2,component=Appenders,name=DefaultConsole-2]
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=AsyncAppenders,name='
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=AsyncLoggerRingBuffer'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=*,subtype=RingBuffer'
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=StatusLogger
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=ContextSelector
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.tomcat.util.net.NioSelectorPool
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.hibernate.validator.internal.util.Version
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.coyote.http11.Http11NioProtocol
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.springframework.boot.actuate.endpoint.jmx
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.catalina.startup.DigesterFactory
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.eclipse.jetty.util.component.AbstractLifeCycle
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.catalina.util.LifecycleBase
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Loggers,name=org.apache.sshd.common.util.SecurityUtils
DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=17a7cec2,component=Appenders,name=Console
TRACE StatusLogger Using DummyNanoClock for nanosecond timestamps.
DEBUG StatusLogger LoggerContext[name=17a7cec2, org.apache.logging.log4j.core.LoggerContext@31b7dea0] started OK with configuration XmlConfiguration[location=jar:file:/app/libs/conductor-server.jar!/BOOT-INF/lib/conductor-es7-persistence-3.15.0-SNAPSHOT.jar!/org/springframework/boot/logging/log4j2/log4j2.xml].
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v3.15.0-SNAPSHOT)
The text was updated successfully, but these errors were encountered: