Distributed Java Logger (1999)
A custom logging framework built before Log4j — async log dispatch, rolling file appenders, and a UDP log collector for aggregating logs from multiple JVMs.
loggingmonitoringjava
Distributed Java Logger (1999)
A hand-rolled logging framework from before Log4j — the kind every team was building in 1998–99.
Contents
Logger.java— core synchronised logger with level filteringAsyncLogger.java— queue-backed async variantUdpLogAppender.java— ships log entries to a central collector over UDPLogCollector.java— central UDP server that aggregates logs from all JVMsRollingFileAppender.java— rotates log files by sizeLogViewer.java— simple tail-like viewer for the aggregated master log
Running
# Start the central log collector
java -cp build com.motorola.logging.LogCollector 5140
# Start an application with UDP logging enabled
java -cp build -Dlog.collector=logserver:5140 com.motorola.nms.Main