Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#3107 - pacman might use iso 8601 date format in its log file

Attached to Project: Pacman
Opened by solsTiCe (zebul666) - Tuesday, 23 August 2005, 16:13 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 25 November 2006, 14:45 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

instead of seeing something like that in /var/log/pacman.log (or whatever is the log file of pacman )

[08/23/05 17:52] upgraded pacman (2.9.6-2 -> 2.9.6-2)

it would be nice to see something like that
[2005-08-23 17:52] synchronizing package lists

Note the date change

Here is the patch
--- pacman-2.9.6/src/pacman.c 2005-04-25 20:19:24.000000000 +0200
+++ pacman-2.9.6/src/pacman_new.c 2005-08-23 17:40:02.000000000 +0200
@@ -3857,8 +3857,8 @@
t = time(NULL);
tm = localtime(&t);

- fprintf(logfd, "[%02d/%02d/%02d %02d:%02d] %s\n", tm->tm_mon+1, tm->tm_mday,
- tm->tm_year-100, tm->tm_hour, tm->tm_min, msg);
+ fprintf(logfd, "[%4d-%02d-%02d %02d:%02d] %s\n", tm->tm_year+1900,
+ tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, msg);
}
}


This task depends upon

Closed by  Aaron Griffin (phrakture)
Friday, 26 January 2007, 01:54 GMT
Reason for closing:  Implemented
Additional comments about closing:  In CVS

Loading...