Le 3 déc. 2010 à 10:32, Vincent Massol a écrit :
Proposal:
* We only log to stdout:
** tomcat is already configured to capture stdout/stderr and to redirect them to
catalina.out
** I have a modification ready for Jetty to do the same, here it is in case you want to
see it: [...]
WDYT?
I'm +1.
Where would that call be for jetty?
My experience with Sun Java Application Server seems to also allow standard-out to be ok.
A slight danger is that people (e.g. groovy page writers) use System.out or System.err
which, in development conditions, cleanly goes to catalina.out but not in rolling-log
conditions which starts to concretize when you are in slightly heavier production (then
the system out is in the first output file... unless the logging infrastructure such as
log4j does the change).
I don't remember having seen a page describing "how to log from your xwiki
page".
paul