I have the same problem with command history. No year. And I want to keep command history for a long time. My solution, export the data to web server and use some scripts to automatically add the year. Then store for as long as you need it.
logc is super useful, but I wrote a tool that would just grab /var/log/ecs/command* every day and store offsite. Then when necessary append the year to the commands. Then all the command history becomes easily searchable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.