on 12-19-2006 3:24 PM
Hi,
I have created a simple webdynpro application and have added this code ..
final String method="wdDoInit()";
logger.entering(method);
logger.debugT("Just check");
in the wdDoInit of my component controller.
In the log-configurator.xml
I have said log formatter, log-destination and log-controller.
In log-destination pattern is set to C:\Applog.log
the xml code for the log-configurator is as follows:
***********************************************************************************************
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
<log-configuration>
<log-formatters>
<log-formatter
name="My_formatter"
pattern="%s"
type="TraceFormatter"/>
</log-formatters>
<log-destinations>
<log-destination
effective-severity="ALL"
name="My_Destination"
pattern="C:\Applog.log"
type="FileLog">
<formatter-ref
name="My_formatter"/>
</log-destination>
</log-destinations>
<log-controllers>
<log-controller
minimum-severity="ALL"
name="sap.com.log">
<associated-destinations>
<destination-ref
association-type="LOG"
name="My_Destination"/>
</associated-destinations>
</log-controller>
<log-controller
name="Application/App">
<associated-destinations>
<destination-ref
association-type="LOG"
name="My_Destination"/>
</associated-destinations>
</log-controller>
</log-controllers>
</log-configuration>
***********************************************************************************************
I am using J2ee WebAS 7 sp 9.
I have also set the ForceSingleTraceFile=No and restart server.
Also the sererity is set to ALL .
Kindly do let me where the problem is ?
Regards,
Debasish
Hi Anil,
The problem is that the log files are not getting generated.
The severity is set to ALL.
Regards,
Debasish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have had a look into the problem, but is still not solved, kindly help!
Regards,
Debasish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.