| A log4j appender that sends "EVENT.*" logs (representing Cougaar
EventService operations) to a remote socket, typically where
ACME is listening.
To use, modify your "$CIP/configs/common/loggingConfig.conf" to
add:
log4j.rootCategory=WARN, .. ,EVENT
log4j.category.EVENT=DEBUG
log4j.appender.EVENT=org.cougaar.util.log.log4j.SocketAppender
log4j.appender.EVENT.layout.ConversionPattern=%d{ABSOLUTE} %-5p - %c{1} - %m%n
and in your Java "-D"s, specify the listener address:
-Dorg.cougaar.event.host=hostname
-Dorg.cougaar.event.port=port
StreamCapture |