cancel
Showing results for 
Search instead for 
Did you mean: 

connection with log-config.xml and userLog class

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Did you check [this|; post which is on the same page?

Bala

Answers (0)