Oracle Solaris System Administration (MOSC)

MOSC Banner

Change timestamps on logs Solaris 11

edited Nov 1, 2018 7:13AM in Oracle Solaris System Administration (MOSC) 3 commentsAnswered

Hi,

Anyone knows if it possible change the timestamps on /var/adm/messages and /var/adm/authlog ?

By default on /var/adm/messages shows the entries like this :

Mar 25 03:52:56 aiserver npe: [ID 236367 kern.info] PCI Express-device: pci15ad,7a0@17, pcieb16

Only shows Month + Day + HH:MM:SS

For audit requirements the auditor asked me if it possible displays the Year ?, like this:

Mar 25 03:52:56 2015 aiserver npe: [ID 236367 kern.info] PCI Express-device: pci15ad,7a0@17, pcieb16


Best Regards

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center