I am runing ESXi 4.1 and I wanted to check few things happened in past by digging some logs. When I goto /var/log/ the 'messages' logs present are of today's date. I don't see anything of yesterday's date. Does anyone know where have they gone or how to get them?
Unless you have configured the logs to be stored on a persistent datastore or sent to a syslog server they will not survive a reboot.
Could this be the case?
See KB 1033696 for more information.
VMTN Moderator | vExpert
no, this ESX has not been rebooted since over a year. But the logs are available only for current date, no other logs are available fr previous date. Not even hostd, vpxa, messages....
not sure what the problem is
In classic esx, the logrotate.conf exists under /etc..I do not have a quick access to esxi host at this moment to verify, perhaps you can check it under /var/log/*
alternately, you can enable syslogd on your ESXi host and redirect your logs to an alternate location locally or on a remote server. Please have a look at the below kb on syslogd: