I have custom logger (based on log4j, but logger interface does not extends any log4j interfaces). When running on AS I get
11:43:33,131 INFO [stdout] (MSC service thread 1-8) Cannot find logging provider: my.package.Log4JLoggerProvider. Cause: my.package.Log4JLoggerProvider from [Module "org.jboss.as.server:main" from local module loader @d507e9 ... 11:43:33,132 INFO [stdout] (MSC service thread 1-8) Switch back to fall back logging provider: NullLoggerProvider
Due to that no logs appear e.g. in console. Is it possible to use my custom logger on AS, and if yes how should I register it?
do you have the module attribute of the custom-handler set to the module of the logger class?