Update resources so jetty-runner works too with new logger

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-1290-3@1791662 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/jetty-runner/src/main/resources/logging.ini b/framework/jetty-runner/src/main/resources/logging.ini
deleted file mode 100644
index 75ebf50..0000000
--- a/framework/jetty-runner/src/main/resources/logging.ini
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-log4j.appender.MAIN.File=logs/manifoldcf.log
-log4j.rootLogger=WARN, MAIN
-log4j.appender.MAIN=org.apache.log4j.RollingFileAppender
-log4j.appender.MAIN.layout=org.apache.log4j.PatternLayout
-log4j.appender.MAIN.layout.ConversionPattern=%5p %d{ISO8601} (%t) - %m%n
diff --git a/framework/jetty-runner/src/main/resources/logging.xml b/framework/jetty-runner/src/main/resources/logging.xml
new file mode 100644
index 0000000..8152ad4
--- /dev/null
+++ b/framework/jetty-runner/src/main/resources/logging.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<Configuration status="warn" name="ManifoldCF" packages="">
+  <Appenders>
+    <File name="MyFile" fileName="logs/manifoldcf.log">
+      <PatternLayout>
+        <Pattern>%5p %d{ISO8601} (%t) - %m%n</Pattern>
+      </PatternLayout>
+    </File>
+  </Appenders>
+  <Loggers>
+    <Root level="error">
+      <AppenderRef ref="MyFile"/>
+    </Root>
+  </Loggers>
+</Configuration>
diff --git a/framework/jetty-runner/src/main/resources/properties.xml b/framework/jetty-runner/src/main/resources/properties.xml
index 9908a8e..05c881c 100644
--- a/framework/jetty-runner/src/main/resources/properties.xml
+++ b/framework/jetty-runner/src/main/resources/properties.xml
@@ -24,7 +24,7 @@
   <property name="org.apache.manifoldcf.database.maxhandles" value="100"/>
   <property name="org.apache.manifoldcf.crawler.threads" value="50"/>
   <!-- Point to a specific logging file -->
-  <property name="org.apache.manifoldcf.logconfigfile" value="./logging.ini"/>
+  <property name="org.apache.manifoldcf.logconfigfile" value="./logging.xml"/>
   <!-- Specify the connectors to be loaded -->
   <property name="org.apache.manifoldcf.connectorsconfigurationfile" value="./connectors.xml"/>
   <!-- Tell LCF where to find the connector jars -->