-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tom

Am 07.10.2015 um 19:48 schrieb Tom Eastep:


I patched the code in lib.core and it appears to be fixed. Would you
consider adapting this in the upcoming releases?


gatekeeper# diff -Nu lib.core lib.core.patched
- --- lib.core
+++ lib.core.patched
@@ -67,7 +67,7 @@
     fi

     if [ $LOG_VERBOSITY -gt 1 ]; then
- -        timestamp="$(date +'%b %_d %T') "
+        timestamp="$(date +'%b %e %T') "
         echo "${timestamp}$@" >> $STARTUP_LOG
     fi
 }
@@ -83,7 +83,7 @@
     fi

     if [ $LOG_VERBOSITY -gt 0 ]; then
- -        timestamp="$(date +'%b %_d %T') "
+        timestamp="$(date +'%b %e %T') "
         echo "${timestamp}$@" >> $STARTUP_LOG
     fi
 }
@@ -99,7 +99,7 @@
     fi

     if [ $LOG_VERBOSITY -ge 0 ]; then
- -        timestamp="$(date +'%b %_d %T') "
+        timestamp="$(date +'%b %e %T') "
         echo "${timestamp}$@" >> $STARTUP_LOG
     fi
 }
@@ -437,7 +437,7 @@
     echo "   ERROR: $@" >&2

     if [ $LOG_VERBOSITY -ge 0 ]; then
- -        timestamp="$(date +'%_b %d %T') "
+        timestamp="$(date +'%b %e %T') "
         echo "${timestamp}  ERROR: $@" >> $STARTUP_LOG
     fi



I suspect the %_b %d %T time string on line 440 to be a glitch

Thanks

Erich


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iEYEARECAAYFAlYVejgACgkQt9T/nQW4ChYeaACgy7TSw1pbiipzFWuFl8a1526T
YZUAnj5d5JRW0NBlEpTPP/VHgIrO9b78
=aw/s
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to