Sudo logging need year details also

view full story

http://www.unix.com – Hi All I have a requirement in which during sudo logging, I must get the year details also in sudo log file. As below output is not mentioning the year due to this I will not able to idenfiy that this log belong to 2012 or 2011 or 2010 Dec 12 11:30:21 XYZ sudo: [ID 702911 local2.notice] user1 : TTY=pts/5 ; PWD=/export/home/user1 ; USER=root ; COMMAND=/usr/bin/cat /var/log/sudo.log Please let me know how can we do that (HowTos)