Hi devs,
I'd like to start brainstorming about implementing a notion of console from within XE.
The idea is that most of our current logs that go in the shell console are actually
application-level logs that should be visible to wiki developers (developers of
applications inside XE).
I've started a design page at
http://dev.xwiki.org/xwiki/bin/view/Design/ConsoleModule
Here are some initial ideas:
* centralized logs available from all nodes
* idea: use activity stream
* UI: a new console tab in pages for all logs for the page
* UI: an admin page for all console logs with a livetable for filtering
* nice: real time addition of new logs (comet and co)
* memory cache (eg last 100 logs) + block save (anti flood protection)
* long term logging with compacting
* system log vs application log
* Requirement: current node id
* Console Module / Application with API
* idea: appender for slf4j (note: could use MDC for additional data:
http://www.slf4j.org/api/org/slf4j/MDC.html)
WDYT? Shoot your ideas!
Thanks
-Vincent