Is it safe to write to /var/log/*
As a result of recent events, I'm looking to log a few things which currently arent logged (obviously).
Now i know I can simply send whatever information I'm interested in, be it time etc to a file and simply append as I please, but was thinking, out of neatness and all, that I could simply write this stuff to /var/log/messages and then it would be rotated as normal and so on.
Is this common practice or should this only be done through syslog daemon?
Ta
|