The default Unwired Server runtime logging and log4j logging are peer systems; the implementation of one does not usually impact the other, unless functionality overlaps.
Border conditions present in the
log4j.xml configuration file may interfere with the configuration defined by
<UnwiredPlatform_InstallDir>\Servers\UnwiredServer\Repository\logging-configuration.xml. Do not create appenders that output to:
- Any console (either System.out or System.err) with any appender, including ConsoleAppender. Log data destined to these appenders is ignored by Unwired Platform runtime components.
- The Unwired Server log. By default you can find the log file is created as <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\logs\<hostname>-server.log.
Any changes you make to a log4j.xml configuration are applied only to the node on which the change is made; they are not propagated across the entire cluster. Therefore, you must edit the file on each node individually, as required.