bruno 2003/08/04 02:01:01
Modified: src/blocks/apples/conf apples-category.xlog
apples-processor.xconf apples-target.xlog
Log:
some cleanup (use unless instead of remove etc.)
Revision Changes Path
1.2 +4 -3 cocoon-2.1/src/blocks/apples/conf/apples-category.xlog
Index: apples-category.xlog
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/apples/conf/apples-category.xlog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apples-category.xlog 4 Aug 2003 08:38:01 -0000 1.1
+++ apples-category.xlog 4 Aug 2003 09:01:01 -0000 1.2
@@ -4,10 +4,11 @@
be equal to the root elm -->
<xlog xpath="/logkit/categories"
- remove="/logkit/categories/[EMAIL PROTECTED]'apples']">
+ unless="[EMAIL PROTECTED]'apples']">
- <category log-level="DEBUG" name="apples">
+ <category log-level="ERROR" name="apples">
<log-target id-ref="apples" />
+ <log-target id-ref="error" />
</category>
-</xlog>
\ No newline at end of file
+</xlog>
1.2 +1 -1 cocoon-2.1/src/blocks/apples/conf/apples-processor.xconf
Index: apples-processor.xconf
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/apples/conf/apples-processor.xconf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apples-processor.xconf 4 Aug 2003 08:38:01 -0000 1.1
+++ apples-processor.xconf 4 Aug 2003 09:01:01 -0000 1.2
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xconf xpath="/cocoon/flow-interpreters"
- remove="/cocoon/flow-interpreters/[EMAIL PROTECTED]'apples']">
+ unless="[EMAIL PROTECTED]'apples']">
<component-instance
class="org.apache.cocoon.components.flow.apples.ApplesProcessor"
1.2 +1 -1 cocoon-2.1/src/blocks/apples/conf/apples-target.xlog
Index: apples-target.xlog
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/apples/conf/apples-target.xlog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apples-target.xlog 4 Aug 2003 08:38:01 -0000 1.1
+++ apples-target.xlog 4 Aug 2003 09:01:01 -0000 1.2
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xlog xpath="/logkit/targets"
- remove="/logkit/targets/[EMAIL PROTECTED]'miles']">
+ unless="[EMAIL PROTECTED]'apples']">
<cocoon id="apples">
<filename>${context-root}/WEB-INF/logs/apples.log</filename>