How to enable logging in a custom policy

One answer

You can use Log4j's Logger.getLogger(Class) or Logger.getLogger(name) but it will only log to the WAS systemout log. Only RAM loggers can log to ramDebug.log.
The level for non-RAM loggers is Warn. So only Warn and Error will log to the WAS system out log.
But be careful what you log. The system out log gets quite full by normal logging. We don't want to have the system out log filled up by noise.
Thanks.
The level for non-RAM loggers is Warn. So only Warn and Error will log to the WAS system out log.
But be careful what you log. The system out log gets quite full by normal logging. We don't want to have the system out log filled up by noise.
Thanks.