OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3974-g0a5e878
Gerrit Code Review
gerrit@openafs.org
Wed, 23 Oct 2013 05:36:28 -0700 (PDT)
The following commit has been merged in the master branch:
commit 0a5e878aa0a71c4dfaef1806744ed78bcc13b9f4
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Oct 17 20:22:48 2013 -0400
viced: Improve client error log messages
Commit 6c41b1f740e16b5b9adfe9026630595be6f0699e improved a few log
messages to include the client ip and port of the request triggering
that log message. Include the viceid and fid (if applicable), too, so
an administrator may more easily identify the cause.
This creates the function LogClientError, so we can use a common
function for logging very similar information. This also modifies
h_FindClient_r to give the viceid to the caller, even in the case of
error. In addition, this modifies CallPreamble to accept a fid and
modifies all callers to accomodate.
Change-Id: I326e17538265ea3251db27a05ede25c33e9a230d
Reviewed-on: http://gerrit.openafs.org/10347
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/viced/afsfileprocs.c | 116 +++++++++++++++++++++++++++-------------------
src/viced/host.c | 12 ++++-
src/viced/host.h | 2 +-
3 files changed, 81 insertions(+), 49 deletions(-)
--
OpenAFS Master Repository