I'd like to trace my execution flow by logging the entry 
and exit points in certain methods.

I considered creating ENTRY and EXIT priority levels (which 
would probably be between DEBUG and INFO), but I noticed 
this in the "short manual":

"Categories may be assigned priorities. The set of possible 
priorities, that is DEBUG, INFO, WARN, ERROR and FATAL are 
defined in the org.apache.log4j.Priority class. Although we 
do not encourage you from doing so, you may define your own 
priorities by sub-classing the Priority class. A perhaps 
better approach is will be explained later on."

I read through the whole doc, but as far as I could tell, I 
didn't see any mention of the better approach.  What is the 
recommended way to add priority levels?

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

Reply via email to