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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|