Thorsten Kamann wrote:
hello Remy, hello Peter,

I am following your dicussion about the new logging in the tomcat cvs.

I have some question about this changes:
1. Old configurations in the server.xml and <context>.xml is not valid,
because the old logger with <Logger ... /> is defined?
2. How can I automatically configure Log4J to add new categrories if the
a host/context added or removed?
3. At wich place the logs will be written if the configuration is not
properly set?

Our comapny uses the tomcat as a hosting solution for our customers.
Every customer has access to his own logs. The logger can be set of the
coustomers themselves in their context.xml, of course. Is this behaviour
broken after your refactoring is done?

A lot of stuff will be broken in this branch. There was no way for me to continue improving Tomcat without breaking stuff. OTOH, I expect the relatively bug free 5.0.x branch to live for a long time, so don't plan upgrading (other than the connector refactoring, there won't be any major reason to upgrade existing installations; this branch is designed for new setups).


About logging:
- it is a mistake (nowadays) to define custom loggers in applications (JBoss doesn't, and yet it's far more complex); of course, an equally big mistake is to provide "logging" services in the Servlet API ;)
- the big problem which I want to solve here is that logs are going to different places, which is wrong; now, all logs should go to commons-logging (or directly to the actual logger that commons-logging is wrapping)
- this was halfway done already in 5.0.x


Rémy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to