[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Rotating Error Logs
Quoting Christopher VanOosterhout (chris@torresen.com):
>
>
> For some time now I have been working with an Interchange store that has
> been somewhat crippled by my half-baked original installation. Even with
> my own errors it has been working very well. Now I am starting from
> scratch and going to try to do it right this time.
>
> I have a question about the topic of "Rotating the Error Logs" in the
> document "Getting Started."
>
> It says: " . . . you need to create a log rotate job similar to the
> following:
>
> /home/merchant/catalogs/*/error.log
> {
> rotate 4
> weekly
> compress
> nocreate
> }
>
> "
>
>
> So, what where do I put this information? In a file? Where will the file
> be located and how do I get it to run?
>
That is a Linuxism, because I believe that guide was pointed
specifically toward Red Hat Linux (that is the one I did not write).
If you do run Linux, you can look in the directory /etc/logrotate.d/ and
find other similar files that are called by cron when it runs logrotate.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman