At 07:01 PM 6/27/2005, you wrote:
When you create a new logger you pass in a string. I have seen this referred to as category but as far as a logging event is concerned I think it's referred to as the logger name?

Anyways, I am going to wind up having people (many) name their loggers such that all loggers start with

Webapps_
Desktopapps_
Janitorapps_

Etc.
On the socket server side I would like to be able to send anything that starts with webapps_ to a different file then desktopapps_ and janitorapps_

Couldn't you deduce the application type by other means? Changing the logger name seems particularly intrusive. Moreover, you will surely have code shared by webapps, desktop apps and janitor apps.

--
Ceki Gülcü

  The complete log4j manual: http://www.qos.ch/log4j/



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

Reply via email to