cancel
Showing results for 
Search instead for 
Did you mean: 

FileLog and SAP logging API

Former Member
0 Kudos

Hi all,

does anybody knows how to configure a FileLog using the SAP loggin API on SAP WAS 640 SP9?

The console output works fine but i failed configuring a file log as destination.

Thanks in advance

Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Christian,

You need to have a log destination type FileLog in log-configurator.xml.

<log-destination

name="xxxLog"

type="FileLog"

pattern="./log/applications/xxx.log"

effective-severity="ALL"

count="20"

limit="2000000">

<formatter-ref

name="xxxx"/>

</log-destination>

Regards

Benolin

Former Member
0 Kudos

Hi Benolin,

i changed the log-configurator.xml but there is no generated log file anyway. Do i have to do some more configuration?

Regrads

Christian

Former Member
0 Kudos

The log-configurator.xml file needs to be bundled with the SDA or EAR file and deployed into the j2ee engine.

Please try that.

Regards

Benolin

Answers (0)