On 20 October 2012 14:28, leo108 cyh108...@gmail.com wrote:
I hope to store the log file by day , because the log file will be so large
with the time goes by.Is it possible to do this ?
You could provide a daily cron task, something like
cd /path/to/applicationRAILS_ENV=production rake
On Sat, Oct 20, 2012 at 8:28 AM, leo108 cyh108...@gmail.com wrote:
I hope to store the log file by day , because the log file will be so
large with the time goes by.Is it possible to do this ?
I am curious which log library you are using.
From the standard library it is clear you can do
On 21 October 2012 12:09, Victor Goff keeperotpho...@gmail.com wrote:
On Sat, Oct 20, 2012 at 8:28 AM, leo108 cyh108...@gmail.com wrote:
I hope to store the log file by day , because the log file will be so
large with the time goes by.Is it possible to do this ?
I am curious which log
On Sun, Oct 21, 2012 at 7:32 AM, Colin Law clan...@googlemail.com wrote:
On 21 October 2012 12:09, Victor Goff keeperotpho...@gmail.com wrote:
On Sat, Oct 20, 2012 at 8:28 AM, leo108 cyh108...@gmail.com wrote:
I hope to store the log file by day , because the log file will be so
large
On Sun, Oct 21, 2012 at 5:29 PM, Victor Goff keeperotpho...@gmail.com wrote:
Can you use logrotate or whatever the OS gives for rotating logs?
Yes I agree you should be using logrotate because most logging in
applications is not rotated by them, but instead by logrotate, this
way you can easily
I hope to store the log file by day , because the log file will be so large
with the time goes by.Is it possible to do this ?
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to
6 matches
Mail list logo