Questions tagged [logs]
The logs tag has no usage guidance.
68 questions
0
votes
1
answer
41
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 ...
0
votes
0
answers
59
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
35
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 ...
1
vote
1
answer
104
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
3
votes
1
answer
49
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
29
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 ...
0
votes
1
answer
80
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 ...
1
vote
1
answer
40
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
107
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/...
1
vote
1
answer
22
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?
...
1
vote
1
answer
47
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 ...
2
votes
1
answer
131
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
41
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
102
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 ...
2
votes
4
answers
187
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 ...
0
votes
1
answer
25
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
36
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 ...
1
vote
1
answer
24
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
123
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
28
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
74
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
25
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....
2
votes
0
answers
108
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 ...
0
votes
1
answer
87
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
3
answers
292
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 ...
1
vote
1
answer
85
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
115
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 ...
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/...
2
votes
1
answer
55
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 ...
5
votes
3
answers
316
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 ...
0
votes
2
answers
31
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 ...
5
votes
2
answers
312
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/...
2
votes
2
answers
220
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 ...
0
votes
1
answer
81
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
129
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?
...
2
votes
3
answers
168
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
0
answers
26
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
236
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
2
answers
636
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 ...
5
votes
1
answer
87
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 ...
3
votes
1
answer
88
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 ...
11
votes
2
answers
4k
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 ...
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
381
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 ...
4
votes
3
answers
505
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 ...
1
vote
4
answers
195
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 `...
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
...
7
votes
2
answers
537
views
Can I safely trim civicrm_job_log and civicrm_log?
civicrm_job_log is the biggest table in my database by an order of magnitude. And civicrm_log is the fifth biggest.
Can I trim these somehow, e.g. a cron job that removes old logs? It's making the ...
1
vote
2
answers
405
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 ...