Skip to main content

Questions tagged [logs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Entries in Log Tables

Some of our log tables are rather large and we're curious as to how the logging process works. We'll have static groups that have and 'Update' log entry during times when no one has actively updated ...
1 vote
1 answer
35 views

WP Fatal Error UserDashBoard.php:80 for anonymous users

My Wordpress \ConfigAndLog\Civicrm.xx...xx.log is full of this error. 100s of MB of them. I understand that this is due to anonymous users not passing a valid contactID to the UserDashBoard. This ...
0 votes
1 answer
72 views

How to generate a report of changes to a contact's custom fields (showing the before/after text labels) from Civi's detailed log?

The Ask My client has to manually reconcile people records with an external system. This requirement calls for a report to be run on a periodic basis, say weekly, that shows changes to certain custom ...
0 votes
0 answers
51 views

Log Detail Report - DB Error when viewing an update to a contact

Developer question. Civi 5.71.1 on Drupal 10 with a separate db for CiviCRM logs. Symptom I'm getting many "DB Error: no such field" errors when viewing "update" changes in the Log ...
0 votes
1 answer
30 views

Log and Event Management

Our live CIVICRM environment is CiviCRM 5.67.1, Joomla 4.4.2, PHP 8.1, hosted on Siteground. The logs in our environment are very large and growing. Is there a process that we can use to manage the ...
0 votes
1 answer
52 views

Log Entry View and other settings pages don't load (5.18.4, Drupal 7.67)

recently I am unable to load Log Entry Views and other settings pages in my Drupal CiviCRM. On the page it shows the following errors: Warning: include(/var/www/html/sites/default/files/civicrm/...
0 votes
1 answer
20 views

Two log files on Joomla install

Is anyone seeing multiple logs on Joomla installs in the ConfigAndLog directory? Reason we care is items from only one of them get actually rendered in the Log Viewer (in CiviCRM admin UI: Admin >&...
1 vote
1 answer
44 views

Feature request: Combine log and activities when merging double contacts

When contacts are merged, only the log and activities of one of the contacts are kept. Part of the change history is deleted and this is not always the right way, e.g. for auditing purposes. It would ...
1 vote
1 answer
93 views

User logins over past month

OK I'm sure this is really easy but I cant find out how to do it. I simply want to know how many users have logged in each month so that I can track activity. Any help much appreciated. Thanks Mike
2 votes
2 answers
253 views

What should I do about Deprecated Functions?

My log is largely full of various warnings about deprecated function calls, from both CiviCRM core and extensions. They do not seem to cause direct problems, but finding genuine problem messages ...
0 votes
2 answers
29 views

How can I enable the change log collapsible field on adding new contacts?

I have seen this field before, but suddenly it disappeared and there is nowhere I can find to enable it, it's a collapsible field that allows you to select with a radio button the date created and ...
3 votes
1 answer
39 views

How to get the "Modified by" data in a SearchKit query?

In a SearchKit query, how can we get the values of the field "Modified by" that can be seen in the change log of a contact? For what is worth, we have advanced logging enabled ("Logging:...
0 votes
2 answers
26 views

Change Log for Contributions in Civicrm

Is there a way that I have generate a change log in terms of what contribution is added, edited, deleted? I understand that there is the detailed change log in civicrm, however seems like it doesn't ...
1 vote
1 answer
34 views

force logfile switch

I believe something is wrong with my log file in uploads/civicrm/ConfigAndLog. (civi was looking for a file without the timestamp so I removed the timestamp from the matching log file) Is it possible ...
1 vote
1 answer
92 views

Undefined variable $store in Joomla.php on line 56 - CRM_Core_Permission_Joomla error

I am experiencing an issue with Joomla integration while using CiviCRM. I am getting the following error on line 56 of the "Joomla.php" file: PHP Warning: Undefined variable $store in /home/...
2 votes
4 answers
165 views

Mosaico Template List Missing [error] Afform error: cannot process ~/afsearchMosaicoTemplateList/afsearchMosaicoTemplateList.aff.html: malformed enti

Log viewer error [error] Afform error: cannot process ~/afsearchMosaicoTemplateList/afsearchMosaicoTemplateList.aff.html: malformed entity name () Problem I'm having is that when I go to: Mosaico ...
1 vote
1 answer
18 views

Safe to empty log_civicrm_group? 4.7

Dealing with an old 4.7 site on Drupal 7, has a huge (21 million row) log_civicrm_group table which I can see has been flagged as a bug in later versions - am I safe to empty/truncate that table? ...
2 votes
1 answer
100 views

Log viewer issue after upgrading to 5.57.1

I just updated some CiviCRM staging/test sites to 5.57.1 and my log viewer seems to be broken. This is Drupal 7 site I get something like the following error for all sites: Unable to read entries from ...
1 vote
2 answers
36 views

Is there a log or record of CiviCRM updates I've done?

Our scheduled jobs stopped working on December 8. Is there a way to see if we updated our installation at, or around, that date? We have updated once after that. I can see some PHP files that have ...
4 votes
0 answers
90 views

reduce size civicrm_job_log?

I've read various articles about reducing the size of civicrm_job_log, but couldn't come to a conclusion. In This post : Truncate civicrm_job_log as often as you like - the data is only of very very ...
1 vote
1 answer
22 views

Logs in a separate database: would CiviCRM hangs if Logs database got corrupted?

Well, subject has pretty much all of the question. Anyone with firsthand experience please?
1 vote
1 answer
104 views

The system has data from both old+new conventions. Please use civicrm.settings.php to set civicrm.files explicitly

trying to debug some other issues post-upgrade i happened to find this warning in the log repeatedly: [warning] The system has data from both old+new conventions. Please use civicrm.settings.php to ...
1 vote
0 answers
26 views

error.php(433)_

We are seeing the following error every day or so on the log viewer: plugins/civicrm/civicrm/CRM/Core/Error.php(433) How do I go about investigating the possible causes? and significance of "433&...
0 votes
1 answer
68 views

Warning in logs: Deprecated function CRM_Utils_System::getUrlPath

We have thousands of the same warning on a 5.38. What should we do about it. Just not care? It fills up the logs and looking for anything else is not easy. [warning] Deprecated function ...
0 votes
0 answers
24 views

Why my log_civicrm_setting is keep growing with random entries?

I have noticed this since upgraded to 5.36.x that my log_civicrm_setting is kept growing in size with some random navigation enties. No idea what it is. Cannot find these in the civicrm_setting either....
11 votes
2 answers
3k views

Where are the "ConfigAndLog" and "templates_c" directories?

Many Stack Exchange answers say to "check your CiviCRM logs" which can be found in the "ConfigAndLog" directory, or to "delete your templates_c folder". What are the default locations for the ...
0 votes
1 answer
85 views

Is there a CiviCRM User Actions Log Feature?

I need a log of user actions due to a security breach (theft of User Information). However, according to my knowledge and research, CiviCRM does not have such a feature. How can I access a user's User ...
2 votes
0 answers
95 views

Log not created, viewer cannot find it

On my acceptance environment the Civicrm-log is not created. When I use Log Viewer, it cannot find it obviously. But the error message describes a specific file: Unable to read entries from logfile ...
1 vote
1 answer
78 views

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. ...
1 vote
2 answers
24 views

Action Records for Civi

Overarching question - Is there a way to see the actions that a specific user has performed? For example, is there a way to see what records a user has exported? Details - We recently had an ...
0 votes
1 answer
110 views

Not receiving email from Scheduled Reminder for Activity

I am attempting to set up a Scheduled Reminder for Scheduled Activities (CiviCRM 5.20.2/Drupal 7). I have a Scheduled Reminder set up as follows: This is setup to send to the Activity Assignees, 0 ...
2 votes
1 answer
43 views

What information does log_civicrm_group keep? How is it useful?

Do you use the log_civicrm_group logs? Our log file is now about 300MB - quite crazy. Are records of removal and adding contacts to groups stored here? Thats information we would like to keep. How do ...
4 votes
3 answers
496 views

Impossible to disable logging

I am on Civi 4.7.6 / Drupal 7.5 I have not been able to record any new phone numbers for some days (via Webform Integration). I realize that I have lost a number of log_civicrm_... tables (those ...
2 votes
2 answers
204 views

The CiviCRM debug log should not be downloadable - generated .htaccess seems ok

On the civicrm/a/#/status the security message The CiviCRM debug log should not be downloadable is displayed. And the complaint is correct, I am able to download the log file. But CiviCRM does ...
5 votes
3 answers
299 views

Missing Log Tables Error

It seems that daily, my System Status page is giving me the following error: Missing Log Tables You don't have logging enabled on some tables. This may cause errors on performing insert/update ...
5 votes
2 answers
308 views

Logs in CiviCRM

In our Drupal 8 - CiviCRM we use Redis for caching and some log management. We would like that CiviCRM also logs errors to Redis, or any other log system for that matter. Is it possible to configure/...
1 vote
4 answers
188 views

Log table: nativecode=1118 ** Row size too large. You have to change some columns to TEXT or BLOBs

Pretty strange, since column mentioned is already of type TEXT. Full error message: [debug_info] => ALTER TABLE `civicrm_logs`.log_civicrm_value_grants_external_application_45 MODIFY `...
0 votes
1 answer
79 views

How to debug variables inside function invoked via ajax call?

I want to debug a function on this file https://github.com/Project60/org.project60.banking/blob/9dc6bdcc486753f70948edfd4ea36df0eb9d2f86/extension/api/v3/BankingTransaction.php /** * Analyses the ...
1 vote
2 answers
113 views

How to see "How often do people log in"?

Is there a way to see in civicrm that How often do people log in or to list the users who logged at least once in last 2 months? I have look advanced search but I couldnt find any criteria for this? ...
1 vote
2 answers
403 views

What settings are required to display detailed change logging?

I've got a site using CiviCRM 4.5.8 I've tried to enable detailed change logging in Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.) But the change log tab still shows the basic changed by ...
2 votes
3 answers
157 views

Where is the 'subscription history' exposed?

CiviCRM has a table called civicrm_subscription_history. This table stores a log of each time a contact is added, removed, or deleted from a group. That's cool. It seems to be reliable (tied in to the ...
3 votes
1 answer
2k views

HowTo fix: client denied by server configuration?

looking in my Apache error logs I get a lot of these errors: 17:52:59 client denied by server configuration: /path/to/drupal/sites/default/files/civicrm/custom/delete-this-hLW0uQKV0o error ...
3 votes
2 answers
617 views

Where is the exact path to the ConfigAndLog log *file*?

In the latest awesome pattern we can now locate our log service easily: Civi::log()->info('Hello, log!'); And then we can tail the log which is in our ConfigAndLog directory. Chris has enumerated ...
3 votes
0 answers
25 views

How are API calls logged consistently as a specific user?

I wrote some extensive scripts that are run through drush. I use the --user= switch in the drush command that supposedly runs the script as that user. The chosen user has a CiviCRM contact ID too ...
6 votes
1 answer
197 views

Are contents of ConfigAndLog directory safe to delete?

I am looking at our CiviCRM install on disk and I notice that files/civicrm/ConfigAndLog is taking up nearly 9GB with all files from 2014-2015. Looking at them they are just plain text files which ...
3 votes
1 answer
84 views

No run_time timestamp in civicrm_job_log

Currently, my civicrm_job_log is the largest table in our database. There was a post Can I safely trim civicrm_job_log and civicrm_log? that mentioned an extension that would keep this table trimmed ...
1 vote
2 answers
65 views

What causes periodic database errors while using logging, and what should I do about it?

Running a Drupal site with CiviCRM Logging enabled. It seems like once a month we get a crash. On investigation one of the log tables is corrupted. Since the tables are type Archive MYSQL provides ...
5 votes
1 answer
83 views

Monitor ConfigAndLog .log file in real time

I am upgrading the CiviCRM and would like to monitor the current .log file that is in <drupal root>/sites/default/files/civicrm/ConfigAndLog/ as it's being updated, in real time. Currently, I ...
1 vote
1 answer
96 views

403 error accessing PDF view of report

We're running CiviCRM 4.7.13 on Drupal 7.51 on a shared server. I am the administrator for our site and AFAICT, I have admin privileges for everything. However, whenever anyone, myself included, ...
4 votes
1 answer
370 views

BCC emails not working - is there a log I can view?

We're using Civi 4.7.12 on Joomla 3.6.2. Our Society has subgroups which need to be alerted when a contribution comes in for them. We have set the group contact's email address in the bcc field of ...