Commit 2f133931 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

nfsv41: set MDC prior first log message

parent 9489f907
......@@ -76,18 +76,18 @@ public class NFSServerV41 extends nfs4_prot_NFS4_PROGRAM_ServerStub {
try {
_log.debug("NFS COMPOUND client: {}, tag: [{}]",
new String(arg1.tag.value.value));
* here we have to checkfor utf8, but it's too much work to keep
* here we have to checkfor utf8, but it's too much overhead to keep
* spec happy.
String tag = new String(arg1.tag.value.value);
MDC.put(NfsMdc.TAG, tag);
MDC.put(NfsMdc.CLIENT, call$.getTransport().getRemoteSocketAddress().toString());
_log.debug("NFS COMPOUND client: {}, tag: [{}]",
int minorversion = arg1.minorversion.value;
if ( minorversion > 1) {
throw new ChimeraNFSException(nfsstat4.NFS4ERR_MINOR_VERS_MISMATCH,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment