You are not logged in.

#1 2011-06-17 03:18:41

I'mGeorge
Member
Registered: 2011-03-23
Posts: 150

is there any way to modify how time is shown in pacman.log ?

in pacman.log, time of a certain installed application is shown in this format YY-MM-DD hh:mm What I want to know is, if there's any way to add also the seconds so the time would be displayed like this YY-MM-DD hh:mm:ss


I've first installed Arch in March

Offline

#2 2011-06-17 08:55:27

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: is there any way to modify how time is shown in pacman.log ?

nope...   well, you could send a patch for pacman...

Offline

#3 2011-06-17 15:28:09

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: is there any way to modify how time is shown in pacman.log ?

Take a look at package.c in the src/pacman directory of pacman's source code. From a quick glance, it looks like all of the time data is implemented there.

Last edited by skottish (2011-06-17 15:28:29)

Offline

#4 2011-06-18 11:38:12

briest
Member
From: Katowice, PL
Registered: 2006-05-04
Posts: 468

Re: is there any way to modify how time is shown in pacman.log ?

There is an option called UseSyslog in pacman.conf -- and syslog definitely can put more precise timestamps in its logfiles.

Offline

Board footer

Powered by FluxBB