My production log 1GB, i need to setup logrotate automatically when the size reaches 1GB.
I am using rails 3, ruby 1.9.3.
How to rotate the log in rails?
Can any one help me out? Thanks in advance.
My production log 1GB, i need to setup logrotate automatically when the size reaches
Share
To create a logger which ages logfile once it reaches about 102,400,000 bytes and leave 10 old log files: