From 59d21afa83b3d7cb996500f3ce2b1317f4c471c7 Mon Sep 17 00:00:00 2001 From: todd stecher Date: Wed, 18 Feb 2009 00:02:51 -0800 Subject: S3: Dumb down debug spew in perfcount module code --- source3/smbd/perfcount.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd/perfcount.c') diff --git a/source3/smbd/perfcount.c b/source3/smbd/perfcount.c index a0ba0a5f8e..2c3871d404 100644 --- a/source3/smbd/perfcount.c +++ b/source3/smbd/perfcount.c @@ -78,7 +78,7 @@ NTSTATUS smb_register_perfcounter(int interface_version, const char *name, } if (smb_perfcount_find_module(name)) { - DEBUG(0,("Perfcount Module %s already loaded!\n", name)); + DEBUG(3,("Perfcount Module %s already loaded!\n", name)); return NT_STATUS_OK; } @@ -87,7 +87,7 @@ NTSTATUS smb_register_perfcounter(int interface_version, const char *name, entry->handlers = (struct smb_perfcount_handlers*) handlers; DLIST_ADD(modules, entry); - DEBUG(0, ("Successfully added perfcounter module '%s'\n", name)); + DEBUG(3, ("Successfully added perfcounter module '%s'\n", name)); return NT_STATUS_OK; } @@ -105,7 +105,7 @@ static bool smb_load_perfcount_module(const char *name) DEBUG(3, ("Initialising perfcounter module [%s]\n", name)); if (g_smb_perfcount_handlers) { - DEBUG(0,("Only 1 perfcount handler may be registered in " + DEBUG(3,("Only 1 perfcount handler may be registered in " "smb.conf\n")); return true; } @@ -146,7 +146,7 @@ static bool smb_load_perfcount_module(const char *name) (NT_STATUS_IS_OK(smb_probe_module("perfcount", module_path)) && (entry = smb_perfcount_find_module(module_name)))) { - DEBUG(0,("Successfully loaded perfcounter module [%s] \n", name)); + DEBUG(3,("Successfully loaded perfcounter module [%s] \n", name)); } else { DEBUG(0,("Can't find a perfcounter module [%s]\n",name)); goto fail; -- cgit