Accidentally deleted all logs, how can I get them back ?
by tuxthegreat from LinuxQuestions.org on (#53VTK)
I wanted to delete the excess logs that accumulated over time, so I ran Code:rm *log*. It deleted all the logs and now new ones wont start. This is what my /var/log looks like now Code:odroid@odroid:/var/log$ ls
Xorg.0.log apparmor btmp.1 dmesg installer speech-dispatcher wtmp.1
alternatives.log apt chkrootkit dpkg.log lightdm unattended-upgrades
apache2 boot.log dbconfig-common fsck ntpstats upstart
apcupsd.events btmp dist-upgrade gpu-manager.log samba wtmpNotice, no syslog or any log. How can I get them back ?


Xorg.0.log apparmor btmp.1 dmesg installer speech-dispatcher wtmp.1
alternatives.log apt chkrootkit dpkg.log lightdm unattended-upgrades
apache2 boot.log dbconfig-common fsck ntpstats upstart
apcupsd.events btmp dist-upgrade gpu-manager.log samba wtmpNotice, no syslog or any log. How can I get them back ?