Skip to main content

Questions tagged [logs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Jon G - Megaphone Tech's user avatar
9 votes
1 answer
892 views

Where should one look for logs when debugging a new problem?

When a bug or problem arises, one must often seek out the corresponding error-messages or error-logs. Since Civi runs on a large stack, there can be several layers to check, e.g. The browser's ...
Tim Otten's user avatar
  • 5,684
7 votes
3 answers
1k views

How to compare CiviCRM to Salesforce?

I'm advising a small NGO and trying to figure out what is the best solution for them. Their data is essentially: client data: phone numbers, identification numbers, gender, etc. client-wise logs, e.g....
gideonite's user avatar
  • 171
7 votes
2 answers
520 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 ...
artfulrobot's user avatar
  • 3,932
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 ...
Jan Geep's user avatar
  • 161
6 votes
1 answer
601 views

Access denied errors by server itself on uploaded files?

I'm noticing a lot in the logs whereby the server itself is trying to request a resource that CiviCRM denies access to by .htaccess. Specifically it seems the CiviCRM server is trying to fetch files ...
artfulrobot's user avatar
  • 3,932
5 votes
1 answer
120 views

Is there a way to see the actual change performed by the entry in the change log?

The change log as it stands seems pretty pointless if you only can see that someone has changed something (anything) for a contact. Is there any way to see what was changed?
thoni56's user avatar
  • 1,241
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 ...
themak's user avatar
  • 3,441
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/...
Wannes De Roy's user avatar
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 ...
Christia's user avatar
  • 2,457
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 ...
Jacques-Marie Moranne's user avatar
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 ...
Claire's user avatar
  • 51
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 ...
stackexchange user's user avatar
3 votes
1 answer
346 views

Unable to install v.4.6.x - Drupal7

I tried all the day to install version 4.6.x of CiviCRM on a brand new installation of Drupal 7.39, but each time I execute the installation here: http://<your_drupal_home>/sites/all/modules/...
Kesako Gozaimasu's user avatar
3 votes
1 answer
83 views

Can we disable resource-intensive logging queries triggered by inline edit?

On the contact summary page in CiviCRM 4.6.4 with advanced logging enabled, after doing an inline edit of address or phone, an AJAX query is triggered for a logging report URL: /civicrm/report/...
davejenx's user avatar
  • 2,365
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:...
icaria36's user avatar
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 ...
pedral's user avatar
  • 63
3 votes
2 answers
609 views

Cannot add or update a child row: a foreign key constraint fails

I am using CiviCRM(4.6.10) with Drupal (7.38) together with the civicrm_og_sync module. Until now everything worked fine: Everytime a drupal user was created automatically a civi contact was also ...
pedral's user avatar
  • 63
3 votes
1 answer
98 views

Strange consistent log notices. Where do they come from?

I haven't tried asking on stackexchange before (only the old forums), so please excuse me if I do it in the wrong fashion... I did google this, but couldn't find anything that helped me remove these. ...
Vandalf's user avatar
  • 43
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 ...
ErichBSchulz's user avatar
  • 1,571
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 ...
Karl Rudnick's user avatar
3 votes
1 answer
183 views

Is it safe / wize to empty civicrm_log table

Pretty similar to this question, we've moved LOG_tables to another database; however, there is civicrm_log table among "main" tables still (not sure why, since it keeps log records and, in theory, ...
yurg's user avatar
  • 2,053
3 votes
1 answer
56 views

How do I get the time in the change log to be the same as my local time?

I am working with CiviCRM in a Joomla environment. The Joomla server time is set for UTC and can verify changes to articles are logged at the correct time. However changes made to CiviCRM consituent ...
Stephen Maxted's user avatar
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 ...
ñull's user avatar
  • 1,208
3 votes
0 answers
95 views

Deleting job log files on database

Is it safe to delete job log files? I currently have 504,742 lines in my civicrm_job_log table, which comes to 223MB.
andywozhere's user avatar
2 votes
1 answer
53 views

How to check WHO creates a certain contact

I can´t see anywhere who is the creator of a particular contact in CRM. I can see the last update of that contact but not what user created which contact. How can I do this? Thank you!
rhrueda's user avatar
  • 173
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 ...
tanbog's user avatar
  • 317
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 ...
themak's user avatar
  • 3,441
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 ...
John's user avatar
  • 1,922
2 votes
1 answer
387 views

Deleting log tables

Using CiviCRM 4.6.9. While exploring debugging options I clicked on "Yes" for the "Logging" option in the Administration "Misc" page. That created hundreds of tables prefixed with "log_" in the ...
Rob Brandt's user avatar
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 ...
Kainuk - CiviCooP's user avatar
2 votes
1 answer
44 views

Log filled with CRM_Utils_System::permissionDenied

My CiviCRM-logs are filling up with entries like this: Aug 20 22:03:29 [info] $Fatal Error Details = Array ( [message] => Du har inte tillräcklig behörighet för att se denna sida. [code] =&...
thoni56's user avatar
  • 1,241
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 ...
Lester's user avatar
  • 153
2 votes
1 answer
58 views

Is there a hook for when a CiviMail is created/scheduled/sent/completed?

I want to call a function whenever a CiviMail is sent from our system, to send a log message to a third party system (Slack in this case). I've had a look at the CiviCRM documentation, and while I ...
Effy Elden's user avatar
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 ...
Webmaster COVS's user avatar
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 ...
user avatar
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 ...
Craig Almond's user avatar
  • 2,037
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/...
Fatih ATEŞ's user avatar
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 ...
user469's user avatar
  • 305
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
Mike Wilson's user avatar
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 ...
thoni56's user avatar
  • 1,241
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?
yurg's user avatar
  • 2,053
1 vote
1 answer
48 views

Civi contribution details correct but why does Paypal log show wrong name?

So, person 1 pays membership fee using credit card via Paypal standard. Transaction goes through fine. Membership record is updated correctly On the Paypal log however the payment show as for person ...
Robinnz's user avatar
  • 403
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 ...
Dave Hassall's user avatar
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? ...
user3016811's user avatar
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. ...
Tobias Krause's user avatar
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 ...
J. Rolfs's user avatar
  • 381
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? ...
allstar's user avatar
  • 11
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, ...
Rob Hills's user avatar
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 ...
Webmaster COVS's user avatar