on 11-09-2006 8:46 AM
Hello!
I configured log-configuration.xml in Developer Studio in this way:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
<log-configuration>
<log-formatters>
<log-formatter
name="FileModuleLogger"
pattern="%26d %150l [%t] %10s: %m"
type="Trace-Formatter"></log-formatter>
</log-formatters>
<log-destinations>
<log-destination
count="5"
effective-severity="DEBUG"
limit="2000000"
name="FMLDestination"
pattern="./log/applications/de.FileModule/FML_default.log"
type="FileLog">
<formatter-ref
name="FileModuleLogger"></formatter-ref>
</log-destination>
</log-destinations>
<log-controllers>
<log-controller
bundle-name="de"
effective-severity="DEBUG"
name="de.FileModule">
<associated-destinations>
<destination-ref
association-type="LOG"
name="FMLDestination"></destination-ref>
</associated-destinations>
</log-controller>
</log-controllers>
</log-configuration>
Unfortunately after deploying of the ear-project I cannot find it in the Visual Admin. Shouldn´t there be a location-node "de" in the Location-tree? "destinations" and "formatters" also ignore my Logger.
Can anyone see my mistake?
Thank you in advance.
Ilona Seifert
I've the same problem with this configuration, no file exists.
Here is my sample code in webdynpro:
Category cat = Category.getCategory(Category.APPLICATIONS,"P4TSupplierSelfServices");
logger.infoT(cat, "User "ld_strUserid" logged in");
Here the configuration file,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
<log-configuration>
<log-formatters>
<log-formatter
name="p4t.log.format"
pattern="%l %d %s %m"
type="TraceFormatter"/>
</log-formatters>
<log-destinations>
<log-destination
count="N/A"
effective-severity="ALL"
name="p4t.log.dest.applications"
pattern="./log/applications/p4tsss/p4tsss.trc"
type="FileLog">
<formatter-ref
name="p4t.log.format"/>
</log-destination>
</log-destinations>
<log-controllers>
<log-controller
minimum-severity="ALL"
name="/Applications/P4TSupplierSelfServices">
<associated-destinations>
<destination-ref
association-type="LOG"
name="p4t.log.dest.applications"/>
</associated-destinations>
</log-controller>
</log-controllers>
</log-configuration>
Have you solved the problem? If yes, please tell me the way - thank you very much!
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.