Add some log calls

markdionne - December 18, 2006 - 02:52
Project:Database Administration
Version:4.7.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Add an entry to the log when a backup is done, and another when it is mailed successfully. E.G:

watchdog('dba', t("Backup completed to: $path"));

#1

dww - January 2, 2007 - 06:35

good idea. can you make an actually patch for this and test it? see http://drupal.org/diffandpatch and/or http://drupal.org/patch for more details.

thanks!
-derek

#2

greggles - August 14, 2007 - 13:37
Status:active» needs review

Is this the right spot?

It could use a few more messages like one for when it gets mailed...

AttachmentSize
dba_watchdog.patch 500 bytes

#3

dww - August 14, 2007 - 16:01
Status:needs review» needs work

Might be the right spot (didn't look closely), but you can't have dynamic things inside t() like that. This needs a %path placeholder.

 
 

Drupal is a registered trademark of Dries Buytaert.