This discussion is archived
1 Reply Latest reply: Mar 20, 2013 11:41 AM by 806512 RSS

SGD 4.6 audit logging question

Jeffro Newbie
Currently Being Moderated
When using audit logging and filters, how often is a new log file automatically created? I'm interested in preserving the audit data and need to know when the file gets recreated.

  • 1. Re: SGD 4.6 audit logging question
    806512 Newbie
    Currently Being Moderated
    By default, the logs are archived once a week via a crontab entry (Sunday, 0300, by default) - this option is set at install time, can be changed by running tarantella setup, or you can alter the crontab entry directly.

    See " Automatic Log Archives" in the admin guide - and for a description of the archive command.

    The archive command closes out the current log files, and compresses/summarizes them, and stores them in a numbered sub-directory under the "logs" directory, and opens news ones. Once closed out, you can no longer "query" the logfiles from the command line. Note that there are a limited number of archives maintained - 7 sets, I believe, is the default.

    Have a look at the "archive" command under .../bin/scripts to see how it works.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points