The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
56 views

Why doesn't my watchdog() function run when I execute my custom module from Drush

I have a custom module that performs an import from an xml file. It can be invoked two different ways. From a menu callback or a custom drush command. The import works fine and all of it's many ...
0
votes
0answers
30 views

Missing token replacements in Rules generated mail?

I have Rules set up to send me a mail when a critical watchdog system log is created. It's sending me email, but all the tokens are coming out blank. I have Subject: watchdog error: User ...
0
votes
0answers
49 views

Missing text format for any batch operation

Starting any batch operation (search for modules updates, localization updates using https://drupal.org/project/l10n_update etc.) results in lot of watchdog warnings: "Missing text format: ." (yes, ...
2
votes
2answers
396 views

Write all PHP errors, warnings and notices to error_log

Drupal catches PHP warnings and notices to log them via dblog or syslog. As a result, there are two places to monitor for PHP errors (with the watchdog UI not well suited to cater for any large number ...
2
votes
0answers
160 views

How can I trace the source of a redirect error listed in Administration -> Reports?

Under Reports -> Recent log messages, I have a large number of errors such as the following: Type: access denied Date: November 7, 2013 User: Anonymous Location: ...
1
vote
1answer
67 views

programmatically saving a node doesn't add any record to dblog

When I call node_save to save a node, no record for "a new node has been saved.." is added to watchdog. Is this normal? If yes, how do I also add a watchdog record? (without calling the watchdog ...
1
vote
2answers
47 views

Watchdog and translations

Coder says The $message argument to watchdog() should NOT be enclosed within t(), so that it can be properly translated at display time. Does this mean that $message will be translated by watchdog by ...
2
votes
2answers
81 views

Table Description Documentation

Is there a document that briefly describes Drupal 7 tables, their general use, common issues, growth patterns, and the effect of truncating? I'm not understand why my database grew from 11MB last ...
1
vote
3answers
141 views

Watchdog errors with location = http://default/index.php

Looking through recent log messages, I've got a number of errors with no referrer listed, and showing location as being http://default/index.php (instead of http://mysite.com/some/page). They all seem ...
0
votes
2answers
553 views

Watchdog table inserts taking too much of time

On my localhost on Windows 7 sometimes a page load(after all cache clear/cron run) takes even 2 minutes. I've already enabled devel query log generated at the bottom of site showing query ...
1
vote
1answer
62 views

What is the difference between watchdog Location and watchdog Referrer in dblog messages

What is the difference between watchdog Location and watchdog Referrer in dblog messages? An easy example to see the difference would be nice, for example on the node creation/edit they are the ...
0
votes
2answers
776 views

Drush: Watchdog search explained

Can somebody explain how watchdog searching works? I can never get it to locate the log entries I'm looking for. Let's say I have the following watchdog entries: 476722 10/Jun 10:31 notice ...
0
votes
2answers
327 views

Database log details page blank

We're having a problem with our log detail page (/admin/reports/event/XXXXXX): As you can see, the content is blank. There are no apparent errors in the Apache logs. View source shows that the ...
0
votes
1answer
62 views

In Drupal 7, what events are logged?

I'm looking for a list of the events that Drupal 7 logs via watchdog. The question I'm trying to answer for a colleague is this: "What logging Drupal is capable of, specifically related to security, ...
2
votes
1answer
293 views

Drupal 7 Audit log

I'm setting up an audit log for a large network of Drupal 7 sites with dozens of editors and 5 developers. These events are already covered: Content Create, Content Update, Content Delete, User ...
3
votes
2answers
317 views

How to call watchdog() outside Drupal

I'm getting used to use the Drupal watchdog() function. It provides me a very simple and accessible way to log events in my code. However, I would like to use the same (or very similar) function in ...
1
vote
2answers
571 views

Suppressing APC cache warning messages in watchdog log

My Drupal-oriented shared webhost recently updated PHP and APC and turned on reporting APC warnings. Now my watchdog log has many, many entries of the form Warning: include() [function.include]: ...
0
votes
1answer
151 views

Multiple “page not found” errors in log

I am getting "page no found" errors in my website log. Maybe it is some bots that search for directories that do not actually exist. I get at least 50-100 daily of these messages. The log says, for ...
0
votes
1answer
90 views

Create a log when user join/abandoned in a og group in Drupal 7

I'm creating a log with several actions in drupal. I need register in a custom log when a user requests to join a group. Then I need register that the user has joined in the group or has abandoned ...
1
vote
3answers
393 views

Create a log of create/delete users in Drupal 7

I'm creating a log with several actions in drupal. I register similar actions with hook_watchdog. /** * Implements hook_watchdog(). */ function MYMODULE_log_watchdog(array $log_entry) { ...
0
votes
1answer
124 views

Can I create a view of watchdog log entries?

We want to view a more detailed view of watchdog log entries, filtered by module and level and showing the details section in a table. When creating a new view, watchdog logs is not in the list. Is ...
1
vote
2answers
952 views

how cron.php works for watchdog

I want to truncate the table 'watchdog' once a day. So i heave: to set the maximum rows number from the 'Logging and Alerts' (of Site Configuration) to 1000 create a crontab on my system to run ...
3
votes
2answers
310 views

How to hook into adding watchdog entries by other modules?

Is it possible to write some code to intercept the process of adding Watchdog entries and filter them before adding to the log? Or is there a module that allows for watchdog filtering before adding to ...
1
vote
1answer
440 views

Why I can't access to dblog?

Why I can't access to /admin/reports/dblog? It's not listed in the Admin Menu and when I try to get there directly I see the the Reports site (/admin/reports) I've installed Drupal 7.15 with the ...
0
votes
1answer
875 views

Watchdog “404 page not found” entries from spambot guessing urls

Browsing through the watchdog list I found a lot of page not found entries with urls like: http://mysite.com/wp/wp-trackback.php http://mysite.com/phpMyAdmin-2.5.5-pl1/index.php ...
4
votes
2answers
2k views

Unlimitted entries in Watchdog table

I need to set watchdog log entries to unlimitted. Now it clears every time when cron is called. admin/settings/logging/dblog now maximum is 100000, is there any better way to do this.
3
votes
1answer
242 views

What exactly is watchdog?

I am aware of the watchdog table in the Drupal database, but I am not sure how to use it effectively. Is it simply a message function that adds to the table like a stack in the database for ...
1
vote
1answer
3k views

watchdog table grows too big too fast

On a rather busy D6 site, I need to truncate watchdog table very frequently, since it grows at about few Gigabyes per day. On the other hand I can not disable access logs to avoid the table's ...
1
vote
1answer
535 views

How to write PHP warnings and notices to error_log, not db_log (watchdog)?

I'd like to configure Apache & Drupal so that PHP Notices and Warnings are logged to php.ini's 'error_log', but never to dblog/watchdog. Beyond that, dblog should log all the other stuff that it ...