log each error message that is on a very high debug level
This commit is contained in:
@@ -90,6 +90,15 @@ krb5_log(krb5_context context,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void KRB5_LIB_FUNCTION
|
||||||
|
_krb5_debug(krb5_context context,
|
||||||
|
int level,
|
||||||
|
const char *fmt,
|
||||||
|
...)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* This function is currently just used to get the location of the EGD
|
/* This function is currently just used to get the location of the EGD
|
||||||
* socket. If we're not using an EGD, then we can just return NULL */
|
* socket. If we're not using an EGD, then we can just return NULL */
|
||||||
|
|
||||||
|
@@ -115,6 +115,8 @@ krb5_vset_error_message (krb5_context context, krb5_error_code ret,
|
|||||||
if (r < 0)
|
if (r < 0)
|
||||||
context->error_string = NULL;
|
context->error_string = NULL;
|
||||||
HEIMDAL_MUTEX_unlock(context->mutex);
|
HEIMDAL_MUTEX_unlock(context->mutex);
|
||||||
|
if (context->error_string)
|
||||||
|
_krb5_debug(context, 100, "error message: %s: %d", context->error_string, ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user