[libweb-mrest-perl] 05/16: Report MREST_DEBUG_MODE setting at startup

Jonas Smedegaard dr at jones.dk
Wed Dec 6 01:59:41 UTC 2017


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

js pushed a commit to annotated tag debian/0.288-1
in repository libweb-mrest-perl.

commit addc6532a30fb04400ae970823ec2668347c13a3
Author: Nathan Cutler <ncutler at suse.com>
Date:   Wed Mar 15 10:23:14 2017 +0100

    Report MREST_DEBUG_MODE setting at startup
    
    Signed-off-by: Nathan Cutler <ncutler at suse.com>
---
 bin/mrest              |  1 +
 config/MREST_Config.pm | 18 +++++++++---------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/bin/mrest b/bin/mrest
index fbc390c..23009c3 100644
--- a/bin/mrest
+++ b/bin/mrest
@@ -157,6 +157,7 @@ sub _set_up_logging {
     Log::Any::Adapter->set( 'File', $log_file );
     my $message = "Logging to $log_file";
     print "$message\n";
+    print "MREST_DEBUG_MODE is set to " . ( $site->MREST_DEBUG_MODE || 0 ) . "\n";
     $log->info( $message );
 
     if ( ! $site->MREST_APPNAME ) {
diff --git a/config/MREST_Config.pm b/config/MREST_Config.pm
index 1590c57..f0f4e5d 100644
--- a/config/MREST_Config.pm
+++ b/config/MREST_Config.pm
@@ -1,22 +1,22 @@
-# ************************************************************************* 
-# Copyright (c) 2014-2015-2015, SUSE LLC
-# 
+# *************************************************************************
+# Copyright (c) 2014-2015, SUSE LLC
+#
 # All rights reserved.
-# 
+#
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions are met:
-# 
+#
 # 1. Redistributions of source code must retain the above copyright notice,
 # this list of conditions and the following disclaimer.
-# 
+#
 # 2. Redistributions in binary form must reproduce the above copyright
 # notice, this list of conditions and the following disclaimer in the
 # documentation and/or other materials provided with the distribution.
-# 
+#
 # 3. Neither the name of SUSE LLC nor the names of its contributors may be
 # used to endorse or promote products derived from this software without
 # specific prior written permission.
-# 
+#
 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -28,7 +28,7 @@
 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
-# ************************************************************************* 
+# *************************************************************************
 
 # -------------------------------------------
 # Web::MREST

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



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