Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-support / ldapscripts / files / log_timestamp.patch
diff --git a/meta-stx/recipes-support/ldapscripts/files/log_timestamp.patch b/meta-stx/recipes-support/ldapscripts/files/log_timestamp.patch
new file mode 100644 (file)
index 0000000..a521d0e
--- /dev/null
@@ -0,0 +1,15 @@
+---
+ lib/runtime |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/lib/runtime
++++ b/lib/runtime
+@@ -863,7 +863,7 @@ fi
+ # Log command
+ if [ "$LOGTOFILE" = "yes" ]
+ then
+-  log_to_file "$(date '+%b %d %H:%M:%S') $(uname -n | sed 's|\..*$||') ldapscripts: $(basename "$0")($USER): $0 $*"
++  log_to_file "$(date '+%FT%T') $(uname -n | sed 's|\..*$||') ldapscripts: $(basename "$0")($USER): $0 $*"
+ fi
+ if [ "$LOGTOSYSLOG" = "yes" ]
+ then