on 07-07-2005 7:22 AM
I have the following log-configuration.xml file created for a EAR project. When I deploy the file I cannot see the formatters/destinations/controllers in the log configurator.
Please help.. thanks in advance
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
<log-configuration>
<log-formatters>
<log-formatter
name="XBTR_SERVICE_EJB_Formatter"
pattern="[%s] %24d [%t] %l %m"
type="TraceFormatter"/>
</log-formatters>
<log-destinations>
<log-destination
count="1"
effective-severity="ALL"
limit="1000000"
name="XBTR_SERVICE_EJB_Destination"
pattern="./logs/applications/java/ejb/xBTRservice.log"
type="FileLog">
<formatter-ref
name="XBTR_SERVICE_EJB_Formatter"/>
</log-destination>
</log-destinations>
<log-controllers>
<log-controller
effective-severity="ALL"
maximum-severity="ALL"
minimum-severity="ALL"
name="XBTRService_Log_Controller">
<associated-destinations>
<destination-ref
association-type="LOG"
name="XBTR_SERVICE_EJB_Destination"/>
</associated-destinations>
</log-controller>
</log-controllers>
</log-configuration>
Hello
where can I find the officel dokumentation of log-configuration.xml and "log-configuration.dtd" for CE7.2
Thanx in Advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Could you please check whether you Og configuartion has been deployed successfully in the deploy node of the visual Node and check for the Log Configuratior Node and check for your deployed application
Hope this helps , please mark points for suitable answers
regards
rajeshkr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajeshkr,
Sorry, i am kinda new to web dynpro and sap in general so i may need you to be more explicit
I am not quite sure what this part means or how to check "...has been deployed successfully in the deploy node of the visual Node and check for the Log Configuratior Node and check for your deployed application...."
What i did do is go to the server to and search the entire directory structure for the log-configuration.xml but could not find it. Also, the config cannot be seen via the log-configurator in visual administration engine which its supposed too i think. and lastly the behavoiur i set in the log-configuration.xml is not reflected in the defaultTrace
Then i saw this post so i went to check the EAR file in my workspace and found that it was just like Manik described.
Maybe u could check this link where i posted more about my problem
I would love to award points if it helps
Hi again,
I have the same problem on 6.40 SP16. I added the file 'log-configuration.xml' to the directory 'META-INF' of my EAR file, but the log controllers and locations I defined do not show up in visual administrator.
I don't see any bad messages in the deployment log in NWDS.
Has anybody an idea what the problem could be? Do I have to add references to libraries or something like this?
Thanks,
Matthias
There seems to be a problem deploying an EAR file straight from NWDS. Try to use the Visual Admin instead to deploy your EAR file and you should see your log information in Visual Admin/Log Configurator. Also make sure the Log-congiguration.xml file ends up in the meta-inf directory - when developing WebDynPro applications the Log-configuration.xml file ends up in the root.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is in the META-INF dir.. I unjar'd it and checked.
C:temp>jar -tvf xBtrService.ear
170 Thu Jul 07 17:07:28 SGT 2005 META-INF/MANIFEST.MF
0 Tue Jan 01 00:00:00 SGT 1980 META-INF/
525 Thu Jul 07 17:07:28 SGT 2005 META-INF/SAP_MANIFEST.MF
600 Thu Jul 07 17:07:26 SGT 2005 META-INF/sda-dd.xml
255237 Tue Mar 08 07:14:44 SGT 2005 logging.jar
1275 Thu Jul 07 00:04:00 SGT 2005 META-INF/application-j2ee-engine.xml
381 Thu Jul 07 00:00:42 SGT 2005 META-INF/application.xml
1005 Thu Jul 07 13:16:12 SGT 2005 META-INF/log-configuration.xml
577 Thu Jul 07 00:04:22 SGT 2005 META-INF/sap.application.global.properties
679145 Thu Jul 07 17:07:26 SGT 2005 xBTRejb.jar
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.