wso2 / apk

Official Repository for APK distribution
Apache License 2.0
152 stars 91 forks source link

Enforcer log error #2441

Closed AmaliMatharaarachchi closed 3 weeks ago

AmaliMatharaarachchi commented 2 months ago

Description

Getting following errors in enforcer

DEBUG StatusLogger Using ShutdownCallbackRegistry class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
DEBUG StatusLogger Took 0.004887 seconds to load 2 plugins from jdk.internal.loader.ClassLoaders$AppClassLoader@182decdb
DEBUG StatusLogger PluginManager 'Lookup' found 0 plugins
DEBUG StatusLogger AsyncLogger.ThreadNameStrategy=UNCACHED (user specified null, default is UNCACHED)
TRACE StatusLogger Using default SystemClock for timestamps.
DEBUG StatusLogger org.apache.logging.log4j.core.util.SystemClock does not support precise timestamps.
DEBUG StatusLogger PluginManager 'Lookup' found 0 plugins
DEBUG StatusLogger PluginManager 'Converter' found 1 plugins
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
DEBUG StatusLogger Starting OutputStreamManager SYSTEM_OUT.false.false-1
DEBUG StatusLogger Starting LoggerContext[name=182decdb, org.apache.logging.log4j.core.LoggerContext@59494225]...
DEBUG StatusLogger Reconfiguration started for context[name=182decdb] at URI null (org.apache.logging.log4j.core.LoggerContext@59494225) with optional ClassLoader: null
DEBUG StatusLogger PluginManager 'Lookup' found 0 plugins
DEBUG StatusLogger PluginManager 'ConfigurationFactory' found 0 plugins
DEBUG StatusLogger Using configurationFactory org.apache.logging.log4j.core.config.ConfigurationFactory$Factory@64bfbc86
ERROR StatusLogger Reconfiguration failed: No configuration found for '182decdb' at 'null' in 'null'
DEBUG StatusLogger Shutdown hook enabled. Registering a new one.
DEBUG StatusLogger LoggerContext[name=182decdb, org.apache.logging.log4j.core.LoggerContext@59494225] started OK.
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
SwaggerServerInitializer constructor

Steps to Reproduce

start the gateway as usual

Affected Component

Enforcer

Version

1.1.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

AmaliMatharaarachchi commented 2 months ago

Update: Found the PR which introduced this issue. https://github.com/wso2/apk/pull/2361