[interchange] UserDB: log timestamps to second granularity

Jon Jensen <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit 9e02071b8671ac654adae6bbbe062700f904ed7c
Author: Jon Jensen <[email protected]>
Date:   Wed Sep 17 17:14:43 2014 -0600

    UserDB: log timestamps to second granularity
    
    I am not sure why this was just minute granularity before, but that is
    not sufficient for correlation with other event logs.

 lib/Vend/UserDB.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/UserDB.pm b/lib/Vend/UserDB.pm
index 4068408..c22fac9 100644
--- a/lib/Vend/UserDB.pm
+++ b/lib/Vend/UserDB.pm
@@ -751,7 +751,7 @@ sub log_either {
 sub log {
 	my $self = shift;
 	my $time = $self->{OPTIONS}{unix_time} ?  time() :
-				POSIX::strftime("%Y%m%d%H%M", localtime());
+				POSIX::strftime("%Y%m%d%H%M%S", localtime());
 	my $msg = shift;
 	logData( ($self->{OPTIONS}{logfile} || $Vend::Cfg->{LogFile}),
 						$time,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.