Commit dbf574bfc8673f232bbf5f39942506d39a14c83d

Authored by Antonio Terceiro
1 parent 7474eb0a

Documenting the provided logrotate configuration

Showing 1 changed file with 16 additions and 0 deletions   Show diff stats
@@ -319,6 +319,22 @@ Noosfero will be automatically started during system boot, and automatically @@ -319,6 +319,22 @@ Noosfero will be automatically started during system boot, and automatically
319 stopped if the system shuts down for some reason (or during the shutdown part 319 stopped if the system shuts down for some reason (or during the shutdown part
320 of a reboot). 320 of a reboot).
321 321
  322 +=============
  323 +Rotating logs
  324 +=============
  325 +
  326 +Noosfero provides an example logrotate configuation to rotate its logs. To use
  327 +it, create a symbolic link in /etc/logrotate.d/:
  328 +
  329 +# cd /etc/logrotate.d/
  330 +# ln -s /var/lib/noosfero/current/etc/logrotate.d/noosfero
  331 +
  332 +Note that the provided file assumes Noosfero logging is being done in
  333 +/var/log/noosfero (which is the case if you followed the instructions above
  334 +correctly). If the logs are stored elsewhere, it's recommended that you copy
  335 +the file over to /etc/logrotate.d/ and modify it to point to your local log
  336 +directly.
  337 +
322 ========= 338 =========
323 Upgrading 339 Upgrading
324 ========= 340 =========