Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@xurizaemon
Last active May 15, 2019 20:55
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xurizaemon/01a53b0e63b73f88de61dca5d9afe80a to your computer and use it in GitHub Desktop.
Save xurizaemon/01a53b0e63b73f88de61dca5d9afe80a to your computer and use it in GitHub Desktop.
What does the word logging mean in CiviCRM?

It's not uncommon to hear people mention "logging" or "logs" in relation to CiviCRM. There are some different usages of "log":

  • There's CiviCRM's debug log files in sites/default/files/civicrm/CiviCRM.HASHHASH.log (what)
  • There's the DB table log civicrm_system_log (has an API, only used for IPN data, see CRM_Utils_SystemLogger and forum post).
  • There's Data Logging configured at civicrm/admin/setting/misc (mysql logging via triggers). AKA Change Log or Trigger Logging or Detailed Logging.
  • There's "userFrameworkLogging", which means "dump errors to the CMS logging" (may be Drupal specific)
  • There's the Activity Log, which is the view of activities over time.
@joemcl
Copy link

joemcl commented Apr 19, 2017

yikes.

@petednz
Copy link

petednz commented Apr 27, 2017

Unclear if these are all covered by the above but in terms of Tables you have

  • civicrm_action_log
  • civicrm_job_log
  • civicrm_log
  • civicrm_membership_log
  • civicrm_system_log (which the above references)

@xurizaemon
Copy link
Author

and

  • log_civicrm_*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment