Questions tagged [logs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
10 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 ...
0 votes
0 answers
17 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 ...
  • 113
0 votes
1 answer
15 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 >&...
  • 754
0 votes
1 answer
18 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 ...
  • 21
1 vote
1 answer
18 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,449
1 vote
1 answer
40 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 ...
  • 137
1 vote
0 answers
21 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
39 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
20 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,856
1 vote
0 answers
47 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
61 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
2 answers
143 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
59 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 ...
  • 369
0 votes
1 answer
82 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
43 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/...
  • 1
2 votes
1 answer
39 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 ...
  • 3,219
5 votes
3 answers
244 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 ...
  • 3,219
0 votes
1 answer
21 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 ...
4 votes
2 answers
291 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
151 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
67 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 ...
  • 831
1 vote
2 answers
86 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? ...
  • 11
2 votes
3 answers
134 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 ...
  • 1,912
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 ...
  • 1,208
6 votes
1 answer
159 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 ...
  • 161
3 votes
2 answers
556 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 ...
  • 1,561
5 votes
1 answer
74 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 ...
  • 2,457
2 votes
1 answer
48 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
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 ...
1 vote
1 answer
89 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
344 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 ...
  • 51
4 votes
3 answers
443 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
156 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 `...
  • 1,449
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 ...
  • 63
5 votes
2 answers
401 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 ...
  • 3,688
1 vote
2 answers
382 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 ...
  • 1,944
3 votes
2 answers
552 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 ...
  • 63
1 vote
1 answer
47 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 ...
  • 403
6 votes
1 answer
530 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 ...
  • 3,688
3 votes
1 answer
165 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, ...
  • 1,449
2 votes
1 answer
321 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 ...
0 votes
2 answers
138 views

How do I increase the backtrace line length

Log files include a backtrace which is very helpful for debugging but I find the lines get truncated so I cannot see all the values. After about 200 characters I usually see an ellipsis ... and the ...
3 votes
0 answers
88 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.
3 votes
1 answer
338 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/...
2 votes
1 answer
38 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] =&...
  • 960
2 votes
1 answer
51 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!
  • 173
3 votes
1 answer
96 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. ...
  • 43
3 votes
1 answer
79 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/...
  • 2,345
2 votes
1 answer
56 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 ...