From dbf574bfc8673f232bbf5f39942506d39a14c83d Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 9 Aug 2010 19:01:54 -0300 Subject: [PATCH] Documenting the provided logrotate configuration --- INSTALL | 16 ++++++++++++++++ 1 file changed, 16 insertions(+), 0 deletions(-) diff --git a/INSTALL b/INSTALL index 5fce5c0..94666d9 100644 --- a/INSTALL +++ b/INSTALL @@ -319,6 +319,22 @@ Noosfero will be automatically started during system boot, and automatically stopped if the system shuts down for some reason (or during the shutdown part of a reboot). +============= +Rotating logs +============= + +Noosfero provides an example logrotate configuation to rotate its logs. To use +it, create a symbolic link in /etc/logrotate.d/: + +# cd /etc/logrotate.d/ +# ln -s /var/lib/noosfero/current/etc/logrotate.d/noosfero + +Note that the provided file assumes Noosfero logging is being done in +/var/log/noosfero (which is the case if you followed the instructions above +correctly). If the logs are stored elsewhere, it's recommended that you copy +the file over to /etc/logrotate.d/ and modify it to point to your local log +directly. + ========= Upgrading ========= -- libgit2 0.21.2