Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

isa websale loggin

Hello everyone,

In isa application I need to create a separate log file. In log-config.properties file I've added following lines:

<i>com.moeller.isa.action.stats.severity = <b>INFO</b>

com.moeller.isa.action.stats.logs = +log[z_stat]

[..]

log[z_stat] = FileLog

log[z_stat].pattern = %[isa:path]/z_stat.log

log[z_stat].formatter = formatter[plain]</i>

plain formatter is %m (only message)

and in a class

<i>...

z_log.info("text");

...</i>

Like this the log file is not created.

I've change the severity to ERROR

<i>com.moeller.isa.action.stats.severity = <b>ERROR</b></i>

in class

<i><b>log.error("text");</b>

</i>

and like this is working.

<b>My problem : from where to configure the logging mechanism

to display logs for INFO level, but only for my logger?</b>

When is set to ERROR, some extra text is added in log file

<u>[(websale1_IAS_00)ID0932689950DB11599621683610643310End|text ] ???en.text ??? </u>

I need only my text to be in log file, and I think if is set to INFO level the aditional text is not dispalyed.

Thank you and a nice day

Bogdan

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question