diff options
author | wei <> | 2006-01-05 01:13:15 +0000 |
---|---|---|
committer | wei <> | 2006-01-05 01:13:15 +0000 |
commit | 77750ab4cc4c0055a29352334a9357d74e3957d3 (patch) | |
tree | 193b2956bb39d69a406196598146e328d3bbb867 /demos | |
parent | 4ab3e2865788db181a0d4d6d3b459123df43d2b5 (diff) |
coreLog instrumentation.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/quickstart/protected/application.xml | 13 | ||||
-rw-r--r-- | demos/quickstart/protected/logs/logger.xml | 9 |
2 files changed, 4 insertions, 18 deletions
diff --git a/demos/quickstart/protected/application.xml b/demos/quickstart/protected/application.xml index d456bd89..d9ae0f44 100644 --- a/demos/quickstart/protected/application.xml +++ b/demos/quickstart/protected/application.xml @@ -2,18 +2,13 @@ <application id="QuickStart" Mode="Debug">
<modules>
- <module id="logger" class="System.Log.TEventLog" config="protected/logs/logger.xml" >
-<!-- Logging config can be here or in an external file specified by config=".." above -->
-<!--
- <logger destination="file" directory="./protected/logs/" filename="prado.log">
- <filter severity="INFO | NOTICE | WARNING | ERROR | FATAL" />
- <filter severity="DEBUG" disabled="true" />
- </logger>
--->
- </module>
+ <module id="logger" class="System.Log.TEventLog">
+ <logger destination="file" directory="QuickStart.logs" filename="prado.log" />
+ </module>
</modules>
<paths>
<alias id="Controls" path="controls" />
+ <alias id="QuickStart" path="." />
<using namespace="Controls.*" />
</paths>
<services>
diff --git a/demos/quickstart/protected/logs/logger.xml b/demos/quickstart/protected/logs/logger.xml deleted file mode 100644 index c02e135a..00000000 --- a/demos/quickstart/protected/logs/logger.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<config>
- <loggers>
- <logger destination="file" directory="./protected/logs/" filename="prado.log">
- <filter severity="INFO | NOTICE | WARNING | ERROR | FATAL" />
- <filter severity="DEBUG" disabled="true" />
- </logger>
- </loggers>
-</config>
|