diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-22 12:17:46 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-22 12:17:46 +0000 |
commit | 9be071cfd3b8e9c3236cf7e5e001db4ddaedc2bd (patch) | |
tree | 73898af1269c0f64316a7797b28a6d9c56144d35 | |
parent | fcaaed669883b749bea31a6ae56ab68b80653a2d (diff) |
make logging a little bit more consistent
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@110 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | server/alias.c | 6 | ||||
-rw-r--r-- | server/passwd.c | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/server/alias.c b/server/alias.c index d1fc842..eefb1c8 100644 --- a/server/alias.c +++ b/server/alias.c @@ -64,10 +64,8 @@ static enum nss_status _nss_ldap_parse_alias( static int write_alias(LDAPMessage *e,struct ldap_state *pvt,FILE *fp) { int stat; - log_log(LOG_DEBUG,"write_alias: _nss_ldap_write_rndvalue"); if ((stat=_nss_ldap_write_rndvalue(fp,e,ATM(LM_ALIASES,cn)))!=NSLCD_RESULT_SUCCESS) return stat; - log_log(LOG_DEBUG,"write_alias: _nss_ldap_write_attrvals"); if ((stat=_nss_ldap_write_attrvals(fp,e,AT(rfc822MailMember)))!=NSLCD_RESULT_SUCCESS) return stat; return NSLCD_RESULT_SUCCESS; @@ -100,7 +98,6 @@ int nslcd_alias_byname(FILE *fp) /* no more need for this */ free(name); WRITE_FLUSH(fp); - log_log(LOG_DEBUG,"nslcd_alias_byname DONE"); /* we're done */ return 0; } @@ -115,7 +112,7 @@ int nslcd_alias_all(FILE *fp) int errnop; int retv; /* log call */ - log_log(LOG_DEBUG,"nslcd_alias_all"); + log_log(LOG_DEBUG,"nslcd_alias_all()"); /* write the response header */ WRITE_INT32(fp,NSLCD_VERSION); WRITE_INT32(fp,NSLCD_ACTION_ALIAS_ALL); @@ -137,7 +134,6 @@ int nslcd_alias_all(FILE *fp) _nss_ldap_enter(); _nss_ldap_ent_context_release(alias_context); _nss_ldap_leave(); - log_log(LOG_DEBUG,"nslcd_alias_all DONE"); /* we're done */ return 0; } diff --git a/server/passwd.c b/server/passwd.c index da17a3a..de6f72e 100644 --- a/server/passwd.c +++ b/server/passwd.c @@ -221,7 +221,6 @@ int nslcd_passwd_byname(FILE *fp) LDF_PASSWD; } WRITE_FLUSH(fp); - log_log(LOG_DEBUG,"nslcd_passwd_byname DONE"); /* we're done */ return 0; } @@ -254,7 +253,6 @@ int nslcd_passwd_byuid(FILE *fp) LDF_PASSWD; } WRITE_FLUSH(fp); - log_log(LOG_DEBUG,"nslcd_passwd_byuid DONE"); /* we're done */ return 0; } |