Package: sl-modem / 2.9.11~20110321-11

11_logfile.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Place debug log in /var/log/slmodem.log.
Credit to: Damien BRUCKER <damien.brucker@cus-strasbourg.net>
--- sl-modem-2.9.10+2.9.9d+e-pre2.orig/modem/modem_debug.c
+++ sl-modem-2.9.10+2.9.9d+e-pre2/modem/modem_debug.c
@@ -61,7 +61,7 @@
 unsigned int modem_debug_logging;
 unsigned int dsplibs_debug_level;
 
-static const char *modem_debug_logfile = "slmodem.log";
+static const char *modem_debug_logfile = "/var/log/slmodemd/slmodem.log";
 
 static int modem_log_fd;