Limiting the size of a log file
I'm using a syslog daemon to capture logs and put them in /var/log/my_log_file.log . This logfile is incredibly increasing in terms of size. Is there an intelligent way to restrict its size, to say, 1 MB, and new data will overwrite the older one? Thanks folks.