diff options
author | todd stecher <todd.stecher@gmail.com> | 2009-02-18 00:02:51 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-02-19 00:01:41 -0800 |
commit | 59d21afa83b3d7cb996500f3ce2b1317f4c471c7 (patch) | |
tree | e9d832890049b2a4444d55adaeca76cc2f930474 /source3/smbd/perfcount.c | |
parent | fdcd5a3a201489b1408951936e9bfc0871834a29 (diff) | |
download | samba-59d21afa83b3d7cb996500f3ce2b1317f4c471c7.tar.gz samba-59d21afa83b3d7cb996500f3ce2b1317f4c471c7.tar.xz samba-59d21afa83b3d7cb996500f3ce2b1317f4c471c7.zip |
S3: Dumb down debug spew in perfcount module code
Diffstat (limited to 'source3/smbd/perfcount.c')
-rw-r--r-- | source3/smbd/perfcount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/perfcount.c b/source3/smbd/perfcount.c index a0ba0a5f8e7..2c3871d404a 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; |