} else if (command.equals(START_PER_MESSAGE_LOGGING)) {
return doSTARTPERMESSAGELOGGING(argument);
} else if (command.equals(STOP_PER_MESSAGE_LOGGING)) {
return doSTARTPERMESSAGELOGGING(argument);These commands would set a publicly accessible boolean variable. Logging routines would test that variable to govern their behavior. Access to the variable does not need to be synchronized, and no server restart is needed as far as I can see.
But would such an implementation go against one of the design goals of James?
Rich
Serge Knystautas wrote:
There's nothing in James right now that supports any dynamic reconfiguration, so it would require building this layer to support it. In theory with JMX you can manage your James configuration, and maybe trigger a server restart. Not sure though as I haven't kept tabs on that development.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
