Netweaver Portal Log Configuration & Viewing (Part 1)
What it’s all about?
In Enterprise Portal 6.0 SP2, a common logging API was used for most portal development projects. It was good practice to configure an own logger for each portal application. Now, when upgrading to Netweaver 04, these loggers can’t be found. All log and trace information are written into one single rotating file, the infamous defaultTrace.trc. This weblog shows how developers can view their existing logging outputs in a feasible manner.
What it’s NOT about?
It’s not about how the logging API of the SAP WebAs Java should be used, there’s enough documentation on this topic out there.
My blog is divided up into three parts:
1 – Log Configuration
Netweaver Portal Log Configuration & Viewing (Part 2)
Netweaver Portal Log Configuration & Viewing (Part 3)In the next Netweaver Portal Log Configuration & Viewing (Part 2), I will show how the outputs can be viewed in a practical manner.
I was wondering if you had a suggestion for how a developer can change the logging level if they don't have access to the Visual Admin Tool. None of the developers in our organisation have that sort of access on our DEV systems...
I have tried getting them to change the level in the logger.xml file and redeploy their portal component, but that does not seem to change the level in the visual admin. Humpf!
Hi Simon,regards, Karsten
When I set the Time/Date to view logs I found there is an error on the canledar. The June 11, 2006 should be Sunday but it shows on Monday. Is it a Java bug or Log
Viewer 's ?
... log definition part ...
Structure, otherwise it will fail!
You missed one link.:) Link to next blog (at the bottom )
I was trying to use log-configuration.xml to write logs to a file in specific folder and it never seems to be working..
my question here is, for a webdynpro application, do i need a logger.xml ?? Appreciate a reply and Thanks for the blog.
I am working on CE 7.1.In my Application, I implemeted Log Controllers.In NWA, we can change only severity of these Controllers.Is there any way to change the Detination and Formater of these controllers with out changing the source code.In SAP Help Doc ,With ConfigTool,it is given that we can ad, edit and remove Log controllers but there i am not able to find my Application specific Log Controllers only Server Log controllers are there.Is ConfigTool meant for only Server related Log?.
Can you provide sugeestions regarding this issue.
Thanks in Advance
This blog was written for Netweaver 04.
Unfortunately, I can't tell if this still applies to 7.1.