[libdevice-modem-perl] 12/19: Update documentation about default logfile location

Christoph Biedl cbiedl at moszumanska.debian.org
Sat Nov 18 09:29:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

cbiedl pushed a commit to branch master
in repository libdevice-modem-perl.

commit 42cfeb9503c5fda55afec2883c9076516f93114f
Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
Date:   Wed Jun 29 18:13:18 2016 +0200

    Update documentation about default logfile location
---
 debian/patches/log-file-location.patch | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/patches/log-file-location.patch b/debian/patches/log-file-location.patch
index c88f1b3..404e4ba 100644
--- a/debian/patches/log-file-location.patch
+++ b/debian/patches/log-file-location.patch
@@ -1,10 +1,11 @@
 Subject: Change the logfile directory to /var/log/modem/
 Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
 Forwarded: no
-Last-Update: 2016-06-21
+Last-Update: 2016-06-29
 
     Upstream decided to change the log file directory to /tmp which
-    introduced security issues. Use /var/log/modem/ instead.
+    introduced security issues. Use /var/log/modem/ instead, and
+    update the documentation.
 
 --- a/lib/Device/Modem/Log/File.pm
 +++ b/lib/Device/Modem/Log/File.pm
@@ -17,3 +18,15 @@ Last-Update: 2016-06-21
  
  	# If this is windows, use the temp/tmp dirs
  	if (exists $ENV{'TEMP'} || exists $ENV{'TMP'}) {
+--- a/lib/Device/Modem.pm
++++ b/lib/Device/Modem.pm
+@@ -1270,8 +1270,7 @@
+ F<Device/Modem/Log/> folder. At present, there are two main plugins: C<Syslog> and C<File>.
+ C<Syslog> does not work with Win32 machines.
+ When using C<File> plug-in, all log information will be written to a default filename
+-if you don't specify one yourself. The default is F<%WINBOOTDIR%\temp\modem.log> on
+-Win32 and F</var/log/modem.log> on Unix.
++if you don't specify one yourself. The default is F</var/log/modem/modem.log>.
+ 
+ Also there is the possibility to pass a B<custom log object>, if this object
+ provides the following C<write()> call:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdevice-modem-perl.git



More information about the Pkg-perl-cvs-commits mailing list