Fixed trac #9574
authormazilo <mazilo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 18 Jun 2011 01:01:33 +0000 (01:01 +0000)
committermazilo <mazilo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 18 Jun 2011 01:01:33 +0000 (01:01 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27212 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/freeswitch/Makefile
net/freeswitch/files/etc.minimal/autoload_configs/logfile.conf.xml [deleted file]
net/freeswitch/files/etc.packages/logfile/autoload_configs/logfile.conf.xml [new file with mode: 0644]

index a18e460..7f95b75 100644 (file)
@@ -217,7 +217,6 @@ $(call Package/$(PKG_NAME)/Default)
                +$(PKG_NAME)-mod-hash \
                +$(PKG_NAME)-mod-ilbc \
                +$(PKG_NAME)-mod-local-stream \
-               +$(PKG_NAME)-mod-logfile \
                +$(PKG_NAME)-mod-lua \
                +$(PKG_NAME)-mod-native-file \
                +$(PKG_NAME)-mod-siren \
diff --git a/net/freeswitch/files/etc.minimal/autoload_configs/logfile.conf.xml b/net/freeswitch/files/etc.minimal/autoload_configs/logfile.conf.xml
deleted file mode 100644 (file)
index 57f276c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<configuration name="logfile.conf" description="File Logging">
-  <settings>
-   <!-- true to auto rotate on HUP, false to open/close -->
-   <param name="rotate-on-hup" value="true"/>
-  </settings>
-  <profiles>
-    <profile name="default">
-      <settings>
-        <!-- File to log to -->
-       <!--<param name="logfile" value="/var/log/freeswitch.log"/>-->
-        <!-- At this length in bytes rotate the log file (0 for never) -->
-        <param name="rollover" value="10485760"/>
-               <!-- Uncomment to prefix all log lines by the session's uuid  -->
-               <!-- <param name="uuid" value="true" /> -->
-      </settings>
-      <mappings>
-       <!-- 
-            name can be a file name, function name or 'all' 
-            value is one or more of debug,info,notice,warning,err,crit,alert,all
-            Please see comments in console.conf.xml for more information
-       -->
-       <map name="all" value="debug,info,notice,warning,err,crit,alert"/>
-      </mappings>
-    </profile>
-  </profiles>
-</configuration>
diff --git a/net/freeswitch/files/etc.packages/logfile/autoload_configs/logfile.conf.xml b/net/freeswitch/files/etc.packages/logfile/autoload_configs/logfile.conf.xml
new file mode 100644 (file)
index 0000000..57f276c
--- /dev/null
@@ -0,0 +1,26 @@
+<configuration name="logfile.conf" description="File Logging">
+  <settings>
+   <!-- true to auto rotate on HUP, false to open/close -->
+   <param name="rotate-on-hup" value="true"/>
+  </settings>
+  <profiles>
+    <profile name="default">
+      <settings>
+        <!-- File to log to -->
+       <!--<param name="logfile" value="/var/log/freeswitch.log"/>-->
+        <!-- At this length in bytes rotate the log file (0 for never) -->
+        <param name="rollover" value="10485760"/>
+               <!-- Uncomment to prefix all log lines by the session's uuid  -->
+               <!-- <param name="uuid" value="true" /> -->
+      </settings>
+      <mappings>
+       <!-- 
+            name can be a file name, function name or 'all' 
+            value is one or more of debug,info,notice,warning,err,crit,alert,all
+            Please see comments in console.conf.xml for more information
+       -->
+       <map name="all" value="debug,info,notice,warning,err,crit,alert"/>
+      </mappings>
+    </profile>
+  </profiles>
+</configuration>