Roadmap
Where things are going, and how we plan to get there.
See also Roadmap ideas 3x for some really long-term ideas ...
TODO Autoproj, RTT, OCL, etc.
Real-time logging
The goal is to provide a real-time safe, low overhead, flexbible logging system useable throughout an entire system (ie within both components and any user applications, like GUIs).
We chose to base this on log4cpp, one of the C++-based derivates of log4j, the respected Java logging system. With only minor customimzations log4cpp is now useable in user component code (but not RTT code itself, see below). It provides real-time safe, hierarchical logging with multiple levels of logging (e.g. INFO vs DEBUG).
Near future
- Provide a complete system example demonstrating use of the real-time logging framework in both user components, and a GUI-based application. Based on the v2 toolchain.
- Provide a component-based appender demonstrating transport of logging events. Most likely demonstrate centralized logging of a distributed system.
- Add logging system stress tests. (l already have this for v1, but need to port to v2 and submit)
- Able have multiple appenders per category. This is simply a technical limitation of the initial approach, and should be readily changeable.
Long term plans
- Replace the existing RTT::Logger functionality with the real-time logging framework. This really can't involve rewriting all the logging statements in RTT, etc.
- Provide levels of DEBUG logging. Some logging system use FINE, FINER, FINEST levels, whilst others use DEBUG plus an integer level within debug (e.g. debug-1 thru debug-9, from verbose to most-verbose). Chose one approach, and modify log4cpp to support it.
- Support use by scripting and state machines (possibly also Lua?). This means both being able to log, as well as being able to configure categories, appenders, etc.
»
- Printer-friendly version
- Login or register to post comments