© 2001 By Default! A Free sample background from Slide 1 Motivation CMW logging Real-Time Task CMW Server Logging thread BDI logging BDI logging infrastructure BDI logging infrastructure CMW logging infrastructure CMW logging infrastructure
© 2001 By Default! A Free sample background from Slide 2 CMW logging facilities in C++ CMW logging Interface for C++ and Java CMW logging Interface for C++ and Java –Logger object –5 log levels (error, warning, info, trace, debug) –Agreement on default loggers (calls, subscription) Logger implementations Logger implementations –Simple logger (to screen) –Threaded logger Threaded logger is what we are standardizing on Threaded logger is what we are standardizing on –Can log to log4J (but also to a file) –Can be forced not to run in separate thread –Has been used for a variety of servers on LynxOS, Linux, Windows
© 2001 By Default! A Free sample background from Slide 3 Log4j logging Class library widely used in the Java community Class library widely used in the Java community Part of the Jakarta/apache project Part of the Jakarta/apache project Rich infrastructure of filters Rich infrastructure of filters Number of standard appenders (console, files, JMS, sockets, swing, syslog, …) Number of standard appenders (console, files, JMS, sockets, swing, syslog, …) Layouts for output Layouts for output Sufficient number of log levels Sufficient number of log levels Making of (Java) logging server is trivial Making of (Java) logging server is trivial Viewers available in public domain e.g. lumbermill Viewers available in public domain e.g. lumbermill
© 2001 By Default! A Free sample background from Slide 4 CMW Server Logging thread CMW Server Logging thread CMW Server Logging thread CMW Server Logging thread Setting log levels CMW logging infrastructure CMW logging infrastructure Logging server Circular files UDP log4j lumbermill
© 2001 By Default! A Free sample background from Slide 5 CMW Administration Console Explorer Server information start date, name, pid… Restart, shut-down Server statistics Connected clients Server configuration Control of logging levels, Log display Client information information General server status (green, red, yellow)