on 10-14-2008 8:18 AM
Hi,
I am implementing saplogging in j2ee component,
in the class i have written
private static Category catLogger = null;
catLogge=Category.getCategoryCategory.APPS_COMMON, "myLogAP");
catLogger.errorT(...,...,...);
log-configuration.xml looks like this.
<log-formatters>
<log-formatter
name="DefaultFormatter"
type="ListFormatter"/>
</log-formatters>
<log-destinations>
<log-destination
count="5"
effective-severity="ALL"
limit="80000"
name="MyLog4Log"
pattern="./log/applications/MyLog.%g.log" type="FileLog"/>
<log-controllers>
<log-controller
effective-severity="ALL"
maximum-severity="ALL"
minimum-severity="ALL"
name="/Applications/myLogAP">
<associated-destinations>
<destination-ref association-type="LOG" name="MyLog4Log"/>
</associated-destinations>
</log-controller>
it is not creating log file. is there any thing i need to write extra in the class
Please put your suggession and comments to help me in moving with this.
Regards
Abhijith YS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.