on 08-28-2008 10:43 AM
Hi experts,
I found myself confronted with a problem I'm not able to handle without help.
I'm working in the SAP Netweaver 6.40 SP 22 environment.
There I created an EAR- project including a log-configuration.xml.
In this document I configured my Log Controllers and Destinations. Everything works fine, except one thing:
I added 2 different destinations to one Log-Controller. So the traces/logs are written in both files. Till now it works without problems.
But I want to differ the output in both files.
Example:
In Trace-File1 every message with severity WARNING and higher should be stored.
In Trace-File2 every message with severity ERROR and higher should be stored.
My problem:
The tracing uses only the severity of the log-controller which contains both destinations.(referenced destinations)
The severity settings of the destinations are ignored.
Is this the normal behavior, and is there a possibility to change that, so that my example is possible?
Thank you for taking the time to answer my questions. I look forward to your responses.
(I'm away till tomorrow so please don't be disappointed if I don't tell you the results immediately. )
kind regards,
Martin
Hi Martin,
Its a default behaviour.
We also face the same problem, we did with two diff log controller. to solve severity problem and it also helped to create two diff files one for log, and one for tracing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.