[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Free up space on /var [follow-up]
- Subject: RE: [cobalt-users] Free up space on /var [follow-up]
- From: "Colin J. Raven" <cjraven@xxxxxxxxxxx>
- Date: Mon Mar 26 23:39:56 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>
>>OK, I've discovered it's a 170 MB log in the /var/lib/mysql
>>directory. How do I archive it and start a new one?
>
>If you can move your logfile out of /var/lib to /var/log it might be
>better I think. /var/log is a good standardized place to stash logs
>(self explanatory name). Personally I think it's good practice to stash
>*all* logfiles in one place.
Sorry...my brain wasn't working properly when I posted
this....insufficient "drink" permissions on "coffee" file.
If your mysql wants to plant log entries in /var/lib/mysql, let it do
that. Instead, make /var/lib/mysql a symlink to /var/log/mysql directory
(however, create the directory first of course!!) and whatever the log
is called, create one of the same name in /var/log/mysql..."walla" logs
wind up in a "Good Place" (tm)
Regards,
-Colin
--
Colin J. Raven