March 24, 2017

Can we log reboot comment in Linux

Suppose multiple users and admins are using the server and i want to reboot the server for some reason, can i log that reboot reason in log messages. so that if anybody check the log can understand the situation

Answer to the question

Sure you can. Actually, you should know that Linux logs are managed by a service called rsyslog or syslog in some distros.

You can customize the log events.

check this comprehensive guide on how to filter and customize Linux rsyslog server.



Like  (0 likes)
Click Here!