CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • huge log file
Pages: [1]

Author Topic: huge log file  (Read 838 times)

xcf33

  • I post frequently
  • ***
  • Posts: 181
  • Karma: 7
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19/6.20
  • MySQL version: 5.x
  • PHP version: 5.2.6
huge log file
July 02, 2010, 12:44:28 pm
I recently discovered that one of my CiviCRM log file which resided in

files/civicrm/en_US/ConfigAndLog/

was 29 GB large.

I stumbled upon this and was wondering if there has been any fix to this issue.

I understand that CiviCRM just keeps appending to these log files and it also flushes them once every month as stated in (r25797)

Was there any issue filed for this and for what version was this fixed for? And can the flush period be set to smaller interval?


Thanks,

Chang

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: huge log file
July 02, 2010, 09:52:42 pm

upon further investigation, this issue is in 3.2

the issue is here: http://issues.civicrm.org/jira/browse/CRM-5610

svn blame gave me the revision number
and
http://fisheye2.atlassian.com/changelog/CiviCRM/?cs=25795 gave me the comment which has the issue number

i also modified the code to roll over the files every 256M. PHP file functions are a bit flaky if file size is over 2G (on 32 bit systems)

wondering what messages were in your log file that it grew so big

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • huge log file

This forum was archived on 2017-11-26.