Permalink
Browse files

[SMX4-479] Override etc/org.ops4j.pax.logging.cfg to log into ${karaf…

….base}/data/log/servicemix.log. Clean README, NOTICE, LICENSE, etc files. Change file mode of several files.

git-svn-id: https://svn.apache.org/repos/asf/servicemix/smx4/features/trunk@909149 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 1ccc705 commit 63a0e40d810b8df513c44df58485d98d0c9e2a04 @jbonofre jbonofre committed Feb 11, 2010
File renamed without changes.
View
File renamed without changes.
View
File renamed without changes.
View
File renamed without changes.
File renamed without changes.
@@ -29,14 +29,15 @@
<outputDirectory>/</outputDirectory>
<excludes>
<exclude>**/demos/**</exclude>
- <exclude>bin/start</exclude>
<exclude>etc/system.properties</exclude>
<exclude>etc/org.apache.felix.karaf.features.cfg</exclude>
+ <exclude>etc/org.ops4j.pax.logging.cfg</exclude>
<exclude>etc/config.properties</exclude>
- <exclude>LICENSE.txt</exclude>
- <exclude>NOTICE.txt</exclude>
- <exclude>README.txt</exclude>
- <exclude>RELEASE-NOTES.txt</exclude>
+ <exclude>LICENSE</exclude>
+ <exclude>NOTICE</exclude>
+ <exclude>README</exclude>
+ <exclude>RELEASE-NOTES</exclude>
+ <exclude>manual*</exclude>
</excludes>
</fileSet>
@@ -88,10 +89,11 @@
<directory>${basedir}/..</directory>
<outputDirectory>/</outputDirectory>
<includes>
- <include>README.txt</include>
- <include>RELEASE*.txt</include>
+ <include>README</include>
+ <include>RELEASE*</include>
</includes>
<lineEnding>unix</lineEnding>
+ <fileMode>0644</fileMode>
</fileSet>
<!-- Copy over jar files -->
@@ -113,8 +115,9 @@
<directory>target/classes/etc</directory>
<outputDirectory>/etc/</outputDirectory>
<lineEnding>unix</lineEnding>
+ <fileMode>0644</fileMode>
</fileSet>
- <fileSet>
+ <fileSet>
<directory>src/main/distribution/unix-shell</directory>
<outputDirectory>/</outputDirectory>
<lineEnding>unix</lineEnding>
@@ -166,14 +169,14 @@
<file>
<source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source>
<outputDirectory>/</outputDirectory>
- <destName>LICENSE.txt</destName>
+ <destName>LICENSE</destName>
<fileMode>0644</fileMode>
<lineEnding>unix</lineEnding>
</file>
<file>
<source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source>
<outputDirectory>/</outputDirectory>
- <destName>NOTICE.txt</destName>
+ <destName>NOTICE</destName>
<fileMode>0644</fileMode>
<lineEnding>unix</lineEnding>
</file>
@@ -31,11 +31,13 @@
<exclude>bin/start.bat</exclude>
<exclude>etc/system.properties</exclude>
<exclude>etc/org.apache.felix.karaf.features.cfg</exclude>
+ <exclude>etc/org.ops4j.pax.logging.cfg</exclude>
<exclude>etc/config.properties</exclude>
- <exclude>LICENSE.txt</exclude>
- <exclude>NOTICE.txt</exclude>
- <exclude>README.txt</exclude>
- <exclude>RELEASE-NOTES.txt</exclude>
+ <exclude>LICENSE</exclude>
+ <exclude>NOTICE</exclude>
+ <exclude>README</exclude>
+ <exclude>RELEASE-NOTES</exclude>
+ <exclude>manual*</exclude>
</excludes>
</fileSet>
@@ -77,10 +79,11 @@
<directory>${basedir}/..</directory>
<outputDirectory>/</outputDirectory>
<includes>
- <include>README.txt</include>
- <include>RELEASE*.txt</include>
+ <include>README</include>
+ <include>RELEASE*</include>
</includes>
<lineEnding>dos</lineEnding>
+ <fileMode>0644</fileMode>
</fileSet>
<!-- Copy over everything that needs to get dos line endings -->
@@ -93,6 +96,7 @@
<directory>target/classes/etc</directory>
<outputDirectory>/etc/</outputDirectory>
<lineEnding>dos</lineEnding>
+ <fileMode>0644</fileMode>
</fileSet>
<fileSet>
<directory>src/main/distribution/windows-text</directory>
@@ -154,14 +158,14 @@
<file>
<source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source>
<outputDirectory>/</outputDirectory>
- <destName>LICENSE.txt</destName>
+ <destName>LICENSE</destName>
<fileMode>0644</fileMode>
<lineEnding>dos</lineEnding>
</file>
<file>
<source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source>
<outputDirectory>/</outputDirectory>
- <destName>NOTICE.txt</destName>
+ <destName>NOTICE</destName>
<fileMode>0644</fileMode>
<lineEnding>dos</lineEnding>
</file>
@@ -0,0 +1,33 @@
+################################################################################
+#
+# 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.
+#
+################################################################################
+
+# Root logger
+log4j.rootLogger=INFO, out, osgi:VmLogAppender
+
+# CONSOLE appender not used by default
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C %4L | %m%n
+
+# File appender
+log4j.appender.out=org.apache.log4j.FileAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=%d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C %4L | %m%n
+log4j.appender.out.file=${karaf.base}/data/log/servicemix.log
+log4j.appender.out.append=true

0 comments on commit 63a0e40

Please sign in to comment.