struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xavier Noria <>
Subject Re: System.out.println
Date Thu, 05 Aug 2004 19:37:15 GMT
On Aug 5, 2004, at 18:54, Woodchuck wrote:

> what i thought was, if possible, it would be nice if we could somehow
> get the debug flag to read (poll) from some configuration file or
> something, so that we can change this configuration file to
> enable/disable logging (or even level of logging) in the application
> (esp. running in production).  i can see this being useful to minimize
> logging activity in production until there is a problem, then turn on
> logging to investigate and turn off when fixed, etc.

The convenience of doing this and how depends on the application, but 
an easy solution could be to write an Action only known to developers 
that just toggles the global debug flag.

-- fxn

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message