Sorry, the previous patch was wrong. It should be like this one.

The reason for asking for the year information is that I am planning to
parse with perl and analyze with R the log file and the year information
could be interesting. 

-- 
:: Igor Sosa Mayor     :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::
diff --git a/src/msmtp.c b/src/msmtp.c
index fe57010..9704084 100644
--- a/src/msmtp.c
+++ b/src/msmtp.c
@@ -2058,7 +2058,7 @@ void msmtp_log_to_file(const char *logfile, const char 
*loginfo)
         failure_reason = xstrdup(_("cannot convert UTC time to local time"));
         goto log_failure;
     }
-    (void)strftime(time_str, sizeof(time_str), "%b %d %H:%M:%S", tm);
+    (void)strftime(time_str, sizeof(time_str), "%y %b %d %H:%M:%S", tm);
 
     /* write log to file */
     if (strcmp(logfile, "-") == 0)
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
msmtp-users mailing list
msmtp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to