If Monolog is configured to use the JDK logger it will replace the JDK logger implementation with its own implementation and so all JDK logs are intercepted by Monolog. By default Monolog is configured to use the JDK logger.
There is no special configuration file for Jakarta commons login.If it is used on top of the java logging API it is the same case than the previous section.
JOnAS don't provide the corresponding
jar
file so, log4j must be
packaged (.jar
file and
log4j.properties)
in any application that want to
use it. The log4j.properties
file must be
configured correctly.
If log4j is used by several applications it is possible to
centralize the log4j configuration by putting log4j.properties in
$JONAS_BASE/conf
and log4j jar
file in $JONAS_BASE/lib/commons
.