What is the purpose of logs for activities in civicrm_log table?

I am struggling with a large database and try to find ways to reduce data mess. I really wonder why there is no scheduled job to delete old log entries from civicrm_log but this is not my question. Diving into this data I found out that there log entries created everytime an activity was created or updated. But it seems to me that these logs are never shown to admin in the backend?! For contacts there is a tab for the logs but for activities I could not find any page where the logs for an activity are listed.

Is there a way to avoid log creation for activities? Is there any way to list these logs to users or what is the reason to create these logs?

CiviCRM Asked by Tobias Krause on November 30, 2021

1 Answers

One Answer

Under Administer - CiviReport - Create Report From Template there is one called "Database Log Report". That shows you more or less what's in civicrm_log.

For advanced logging (at Administer - System Settings - Misc - Logging), which I don't think is what you're talking about but just in case, the lack of an activity report is a known issue. The advanced logging Contact logging report does not always show proper logs for non-Contact records.

Answered by Demerit on November 30, 2021

Add your own answers!

Related Questions

Transactions failed

0  Asked on November 7, 2021



1  Asked on August 30, 2021 by patrick-kana


Regenerating UF Match

1  Asked on August 30, 2021 by steve-kessler


Shortcodes unavailable with Divi

1  Asked on August 30, 2021 by adnmac


Mosaico extension 2.4 beta installation?

0  Asked on August 30, 2021 by interlated


How do i get the contribution table entries?

1  Asked on August 30, 2021 by safron


Is it possible to set “Do not mail” — but only for a time

2  Asked on August 30, 2021 by laryn-cedc-org


Fatal parse error with address in profile

0  Asked on August 30, 2021 by christopher


Custom field default values at database level, not form level?

2  Asked on August 30, 2021 by jon-g-megaphone-tech


Ask a Question

Get help from others!

© 2022 All rights reserved.