Drupal coder

Configure how long your log messages need to be kept in Drupal

By default Drupal discards your log entries older then one week. This is done to keep your database small and sharp by throwing out irrelevant log messages.

But sometimes you just want your log messages to be discarded at all. You can override Drupal's default behaviour by altering a setting in the administration section.

Go to Administer > Site configuration > Error reporting (admin/settings/error-reporting).

You will find a setting there saying 'Discard log entries older than'. Well, that was what we were looking for :)

January 21, 2008Drupal, error reporting, logging

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options