Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [reporting]

Use this tag for questions about various types of reporting in Drupal, including the ones shown /admin/reports.

0
votes
0answers
29 views

Error: Cron has not run recently. But it did!

I have a site (hosted on Acquia) which always return an error about cron not running on the Status report page, but it actually runs regularly and it does all the task attached to it. Cron is running ...
0
votes
1answer
140 views

Create a view of the 'Recent Log Messages'

I would like to give an admin user (not User 1) permission to see the Recent Log Messages (/admin/reports/dblog), but I only want him to see 'User' logs. As it is a subscription website he could see ...
1
vote
2answers
274 views

Additional actions when logging using watchdog

Is there a way to perform additional actions every time watchdog logs something? For example, I wanted to record, parse, and compile logs with additional information elsewhere, but still have watchdog ...
0
votes
0answers
19 views

syslog to a different location for each site than on /var/log/syslog

We have many sites on our server and we are hoping that we can save syslogs of each site on the root of each site than all logs being dumped on /var/log/syslog Is it possible? For example, logs for ...
0
votes
1answer
82 views

Why would my /admin/reports/dblog get “stuck” on only showing “page not found” errors? [closed]

Edit #2: Ok, I finally logged out of my admin account, restarted the browser, then logged back in. Presto! Works. Now that I've thoroughly embarrassed myself, I'll just bow out and go hide underneath ...
1
vote
2answers
660 views

How can I log(watchdog)?

In D7 is used to log using Watchdog function. In D8, I see its gone and I should use something called the logging API. What I a trying to do: I have created a menu/route, mysite.com/logmessage When ...
0
votes
1answer
35 views

Do not show errors including database error to users in D7

I have disabled displaying errors to the user in my D7 website. See below the screenshot of the configuration- However, I (without admin login) still see a database related error such as following- ...
0
votes
1answer
77 views

Can Drupal site logout user when he change IP Address?

Can Drupal site logout user when he change IP Address or ask user to confirm password again? I need to implement follow requirements: Log source IP address changes during application sessions. ...
2
votes
2answers
87 views

Is there a way to see what fields are used in Rules?

There is an field list overview in the reports for Views that shows the fields used. Here is a sample of it: Is there a quick way to find out which fields are used with Rules? It would be enough to ...
2
votes
2answers
129 views

How to track the published/unpublished status for node revisions?

I am ultimately looking for a way to create a report in Views showing what nodes were active on the site at what times but thus far have been unable to accomplish this. I've done a fair bit of ...
3
votes
1answer
35 views

Is there any way to tell when a user's password was changed?

A user tried to log on today and discovered that his password had mysteriously been changed. All I can assume is that he left his computer unattended and someone changed it. Is there any way to tell ...
0
votes
0answers
69 views

Can't log to Windows Events with syslog

Problem: Our production server has IIS 7.5 (windows server 2008). Syslog is enabled in Drupal. And works perfectly fine logging to Unix server syslog file. However, on the IIS (which doesn't have ...
3
votes
3answers
716 views

Set the effective log severity level

In a Drupal 8 site, on the page /admin/config/development/logging, I can specify if I want warnings, errors and other messages to be displayed. But either I want them displayed or not, they exist. On ...
0
votes
1answer
58 views

Is `watchdog-show string` broken in 7.56?

On a test instance, drush watchdog-show shows, among three other entries, a message starting with "Notice: Undefined property:". However, both of the following commands print nothing at all: drush ...
0
votes
1answer
28 views

How can I filter sensitive data being recorded in calls to Watchdog

I have sensitive data that is sent to a Drupal instance and I don't want it to be logged. I can filter out sensitive values with simple string replacements for my own calls to watchdog(), but for PHP ...
0
votes
1answer
71 views

Generate reports of similar web forms results

In Drupal 7, I want to generate a report of similar webforms (same fields but created 2 webforms to handle multilingual translations) results. All the fields in my both webforms are same. I tried to ...
3
votes
1answer
229 views

How do I deal with discounts/refunds and a payment gateway to achieve accurate reporting for accounting?

First off, this seems like a fairly basic function required for ecommerce. I was presented with a question today: "Will our new website give reporting so accounting can be done from within the ...
4
votes
3answers
805 views

Why Recent log message is showing anonymous user?

Whenever I do cron/clear cache, that activity are shown as anonymous in log message, while my login activity are shown with my name as shown in following image. Should not be user be ...
4
votes
2answers
437 views

Debug arrays from hook_cron?

Does anybody know of the proper way to debug objects from within hook_cron? I'm trying to set up a task that periodically deletes backups from my private folder, but I can't properly debug arrays that ...
0
votes
1answer
893 views

How to stop Watchdog from logging “DEBUG” errors?

I get this error in my logs a lot: Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; views_many_to_one_helper has a deprecated ...
1
vote
1answer
1k views

Why do I get a Drupal\Core\DependencyInjection\ContainerNotInitializedException exception error?

I am using Drupal 8.1.3, Drush 8.1.7, and PHP 5.6.2 on a Mac OS X. I've installed a fresh Drupal 8 site demo from Zircon on a local MAMP stack. When I try to run watchdog show, and some other ...
3
votes
3answers
598 views

Suppress watchdog a specific log message

I would like to tell watchdog not to write the "Cron run completed" to the log while leaving all other messages intact. How can I do this? Thanks!
0
votes
2answers
72 views

Is there a way to suppress warnings on the D8 Status Report page?

On my D8 status report (admin/reports/status) I have warnings about an issue I might wish to ignore. Is there any way to suppress the warnings on that report page once I have seen them and made my ...
0
votes
1answer
80 views

Watchdog reports many spammy looking page not found warnings

Periodically, I like to run the following command to see what kind of activity and errors are going on with our website in real time. drush ws --tail --full Every second or so, there is a page not ...
0
votes
2answers
48 views

Need to create a report in Drupal 7 that counts Articles by Author for date range

I am trying to create a simple display that lists all my authors who provided content to my site during a date range (i.e. Jan 1 thru Dec 31) with a count of the number of articles published, as ...
1
vote
1answer
41 views

How to set DB log only to log CRON TYPE and SEVERITY NOTICE message?

I want to log only CRON TYPE and SEVERITY NOTICE message in db log , want to exclude all other types like notice, alert, critical, info, debug etc., Is there any way to prevent this, or should i write ...
0
votes
1answer
385 views

File in /sites/default/files/ gives 404 error

my page is trying to load this file /sites/default/files/languages/it_Et3NQJm4afZYHEnSM9oq5ylZkAw2ExqC8PQtEYrxXDU.js but it gives 404 error. This error is spamming my log page with errors messages. If ...
0
votes
2answers
66 views

Disable translation of watchdog messages

i have problem with drupal. I'm using the watchdog function to save some log messages, but when i go to read them in the admin panel (admin/reports/dblog) they get detected by the T function and so i ...
0
votes
1answer
613 views

Google Analytics Reports: how to remove pageviews for Top Pages and add published date

I've installed google analytics reports to be able to see the most viewed nodes of my website. I were able to add the Top Pages view to my home page but i wanted to know how can i : add published ...
1
vote
1answer
28 views

Conditionals with Combining Fields in Views

I'm having issues with rewriting the results of a field. I am trying to rewrite the field to be a combinations of 3 fields: [field_products] [field_downloadable_products] [field_product] When I ...
0
votes
1answer
33 views

Fix Unusual Boolean Variable Behavior

I have this javascript code, that calls a php function myid_save_ellipse_elements jQuery.ajax({ type: 'POST', url:'?q=myid_save_ellipse_elements', data:{ 'ellipse': true } })....
1
vote
1answer
27 views

404 Error report getting refreshed?

For some reason CRON seems to be deleting all 404 errors reported at admin/reports/page-not-found Is there any way to disable the deleting of the 404 errors?
0
votes
3answers
93 views

Change UID for watchdog message

In Drupal 8 with DbLog logger, I am trying to log some audit messages to a different user than the currently logged-in user. Unfortunately, it looks like something is overwriting my context. I tried \...
3
votes
2answers
2k views

How to use Views Excel Export or Views data export to export a filtered table?

A while back I asked a question about how to pass a list of columns to display in a views table and a solution closest to what I wanted to do was a module: Views Dynamic Fields I was positively ...
-1
votes
1answer
14 views

Store events for later retrieval

I'm sending out emails on certain events (e.g. new article, or in a cronjob if a certain node hasn't been updated in the last weeks). Now, I want to track whether these emails get reacted upon. I can ...
4
votes
2answers
495 views

How do I execute a function every 3 months?

What's the proper way to execute a function every 3 months? Watchdog variables don't seem to be available after a certain time. I could create another table to insert the execute function date to ...
3
votes
2answers
1k views

How do I print line breaks and HTML in a watchdog message?

I am trying to log emails to watchdog for testing in my local dev environment. function MYMODULE_mail_alter(&$message) { // First: Prevent the mail from being sent. $message['send'] = FALSE; ...
2
votes
3answers
143 views

How to create a list of users according their roles? [closed]

How can I create/see the list of user according their roles? I'm interested in any answers to do this programmatically, or via any other way/technique I could use for this.
1
vote
1answer
355 views

What to do for “Login attempt failed for admin.” and “Access denied” to path admin?

In Watchdog, I started seeing several entries like this: Login attempt failed for admin. And access denied 2016/04/04 - 15:06 admin These are generating a fair number of log entries. The IP ...
1
vote
1answer
23 views

When an image shows up in “page not found” in Watchdog, how to find the content containing the image link?

I disabled the countryicons_shiny module on my site, and now I'm getting some errors in Watchdog showing that the images weren't found: Details Type page not found Date April 3, 2016 User ...
1
vote
3answers
903 views

Solve “Cron run failed” without Watchdog

Some years ago i wanted to turn off watchdog because it's memory and db consumption, but today i need info about why my cron isn't running because need to use Search module from now? Trying to run ...
4
votes
1answer
121 views

Can Forena Reports be used with Organic Groups to create a report with a “page” for each member?

I would like a link in each of my organic groups where Forena would replicate some of my views and create a pdf document with a page per OG user. I've looked through the documentation and module but ...
2
votes
1answer
152 views

Watchdog message is not proper

Used sqlquery to get the error log messages from watchdog table. Getting message like, 'Sending mail to: @to'. '%type: !message in %function (line %line of %file)' (which seems not relevant). ...
0
votes
1answer
49 views

Deletion of some watchdog messages with subquery

What i want is to delete from watchdog the first 20 messages with type as 'blabla' what i did untill now is: $query = db_select('watchdog', 'w') ->fields('w') ->condition('type', '...
0
votes
2answers
905 views

How to export the log messages in .csv file?

How can I export the log messages (Site Reports-->Recent Log Messages) in a .csv file?
3
votes
2answers
182 views

Why is my Forena report parameter not displaying as a textbox?

I created a Forena report using a data block that has one parameter in it, i.e. ":year". When creating the report, the parameter is detected and added to the report definition. When previewing the ...
0
votes
1answer
79 views

Creating a periodic report in Drupal 7 or 8

I have the following use case: users have to report quarterly on their project used an unified form. For example, project 1 is implemented by organization X with contact person John and has to deliver ...
1
vote
0answers
32 views

Why is a blocked user showing up in my watchdog logs?

Upon checking my error logs in watchdog today, I discovered an IP address that tried to go to a (non-existent) admin page. I have already blocked this IP and when I go to https://example.com/admin/...
0
votes
1answer
3k views

Watchdog messages and string replacement

Hello I would like to know which of the following ways (or some other) of logging messages is better and why. I am writing lots of .install files since I create content types and fields ...
1
vote
1answer
801 views

watchdog truncate or delete

Watchdog table has become so big that, truncate cascade or delete command in the table is not working at all. The moment the server encounter a DELETE command in watchdog, it gets busy in executing ...