summaryrefslogtreecommitdiff
path: root/modules/watchdog.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r--modules/watchdog.module15
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index d09ab9e16..5fef79158 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -21,13 +21,14 @@ function watchdog_link($type) {
if ($type == "admin" && user_access("administer watchdog")) {
$help = "The watchdog module monitors your website, captures system events in a log and records them to be reviewed by an authorized individual at a later time. The watchdog log is simply a list of events recorded during operation and contains usage data, performance data, errors, warnings and operational information. It is vital to check the watchdog report on a regular basis as it is often the only way to tell what is going on.";
- menu_add("watchdog", "admin.php?mod=watchdog", "Display system events.", $help, "site monitoring", 1, 1);
- menu_add("user messages", "admin.php?mod=watchdog&type=user", "Display system events", $help, "watchdog");
- menu_add("regular messages", "admin.php?mod=watchdog&type=regular", "Display system events", $help, "watchdog");
- menu_add("special messages", "admin.php?mod=watchdog&type=special", "Display system events", $help, "watchdog");
- menu_add("warning messages", "admin.php?mod=watchdog&type=warning", "Display system events", $help, "watchdog");
- menu_add("error messages", "admin.php?mod=watchdog&type=error", "Display system events", $help, "watchdog");
- menu_add("httpd messages", "admin.php?mod=watchdog&type=httpd", "Display system events", $help, "watchdog");
+ menu_add("site monitoring", "admin.php?mod=watchdog", "Monitor your site.", NULL, NULL, 2);
+ menu_add("watchdog", "admin.php?mod=watchdog&type=all", "Display system events.", $help, "site monitoring", 1, 1);
+ menu_add("user messages", "admin.php?mod=watchdog&type=user", "Display system events", $help, "watchdog");
+ menu_add("regular messages", "admin.php?mod=watchdog&type=regular", "Display system events", $help, "watchdog");
+ menu_add("special messages", "admin.php?mod=watchdog&type=special", "Display system events", $help, "watchdog");
+ menu_add("warning messages", "admin.php?mod=watchdog&type=warning", "Display system events", $help, "watchdog");
+ menu_add("error messages", "admin.php?mod=watchdog&type=error", "Display system events", $help, "watchdog");
+ menu_add("httpd messages", "admin.php?mod=watchdog&type=httpd", "Display system events", $help, "watchdog");
}
}