logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spa...@ggn.aithent.com (Sunita Pahwa)
Subject What should be 'name' in Category tag in XML configuration file??
Date Thu, 01 Mar 2001 10:13:30 GMT
Hi!
I am a new user to Log4j.
I am using xml file for configuring it.
In XML file, there is a category tag,
<category name="com.org">
....
what should be the value of name attribute? Should it be package name/full
name of category i am creating(which i do not know until run time as i am
using "Category.getInstance(<classname>.class.getName());
)"? I am bit confused here.
If it is package name, is there a way, i can set priority/appender upto
class level?

Please help.
regards.



Mime
View raw message