Commit 26f5c0f6 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

nfsv41: switch to slf4j logging framework

changed NFS code to use slf4j.
The RPC part is still based on JUL.

Acked-By: Paul
parent c1f9d191
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<jmxConfigurator />
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %X{mdc.client} %logger{24} - %msg%n</Pattern>
</layout>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
...@@ -191,6 +191,16 @@ ...@@ -191,6 +191,16 @@
<artifactId>postgresql</artifactId> <artifactId>postgresql</artifactId>
<version>8.4-701.jdbc3</version> <version>8.4-701.jdbc3</version>
</dependency> </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.11</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>0.9.18</version>
</dependency>
<!-- <!--
LOCAL JARS LOCAL JARS
......
...@@ -4,25 +4,15 @@ ...@@ -4,25 +4,15 @@
package org.dcache.chimera.nfs; package org.dcache.chimera.nfs;
import org.dcache.chimera.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.dcache.chimera.FileSystemProvider;
import org.dcache.chimera.FsInode;
import org.dcache.chimera.FsInodeType;
import org.dcache.chimera.FsInode_CONST;
import org.dcache.chimera.FsInode_ID;
import org.dcache.chimera.FsInode_NAMEOF;
import org.dcache.chimera.FsInode_PARENT;
import org.dcache.chimera.FsInode_PATHOF;
import org.dcache.chimera.FsInode_PGET;
import org.dcache.chimera.FsInode_PSET;
import org.dcache.chimera.FsInode_TAG;
import org.dcache.chimera.FsInode_TAGS;
public class NFSHandle { public class NFSHandle {
private static final Logger _log = Logger.getLogger(NFSHandle.class.getName()); private static final Logger _log = LoggerFactory.getLogger(NFSHandle.class);
private NFSHandle() { private NFSHandle() {
// no instance allowed // no instance allowed
...@@ -34,7 +24,7 @@ public class NFSHandle { ...@@ -34,7 +24,7 @@ public class NFSHandle {
String strHandle = new String(handle); String strHandle = new String(handle);
_log.log(Level.FINEST, "Processing FH: {0}", strHandle ); _log.debug("Processing FH: {}", strHandle );
StringTokenizer st = new StringTokenizer(strHandle, "[:]"); StringTokenizer st = new StringTokenizer(strHandle, "[:]");
...@@ -125,8 +115,7 @@ public class NFSHandle { ...@@ -125,8 +115,7 @@ public class NFSHandle {
} }
} catch (IllegalArgumentException iae) { } catch (IllegalArgumentException iae) {
_log.log(Level.INFO, "Failed to generate an inode from file handle : {0} : {1}", _log.info("Failed to generate an inode from file handle : {} : {}", strHandle, iae);
new Object[] {strHandle, iae});
inode = null; inode = null;
} }
......
...@@ -21,8 +21,6 @@ import org.dcache.chimera.nfs.v3.xdr.time_how; ...@@ -21,8 +21,6 @@ import org.dcache.chimera.nfs.v3.xdr.time_how;
import org.dcache.chimera.nfs.v3.xdr.wcc_attr; import org.dcache.chimera.nfs.v3.xdr.wcc_attr;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import org.apache.log4j.Logger;
import org.dcache.chimera.FsInode; import org.dcache.chimera.FsInode;
import org.dcache.chimera.ChimeraFsException; import org.dcache.chimera.ChimeraFsException;
import org.dcache.chimera.UnixPermission; import org.dcache.chimera.UnixPermission;
...@@ -32,6 +30,8 @@ import org.dcache.chimera.nfs.v3.xdr.wcc_data; ...@@ -32,6 +30,8 @@ import org.dcache.chimera.nfs.v3.xdr.wcc_data;
import org.dcache.xdr.RpcAuthType; import org.dcache.xdr.RpcAuthType;
import org.dcache.xdr.RpcAuthTypeUnix; import org.dcache.xdr.RpcAuthTypeUnix;
import org.dcache.xdr.RpcCall; import org.dcache.xdr.RpcCall;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class HimeraNfsUtils { public class HimeraNfsUtils {
...@@ -39,7 +39,7 @@ public class HimeraNfsUtils { ...@@ -39,7 +39,7 @@ public class HimeraNfsUtils {
private static final int MODE_MASK = 0770000; private static final int MODE_MASK = 0770000;
private static final Logger _log = Logger.getLogger(HimeraNfsUtils.class.getName()); private static final Logger _log = LoggerFactory.getLogger(HimeraNfsUtils.class);
private HimeraNfsUtils() { private HimeraNfsUtils() {
// no instance allowed // no instance allowed
......
...@@ -20,8 +20,6 @@ package org.dcache.chimera.nfs.v3; ...@@ -20,8 +20,6 @@ package org.dcache.chimera.nfs.v3;
import java.io.File; import java.io.File;
import java.net.InetAddress; import java.net.InetAddress;
import java.util.logging.Logger;
import java.util.logging.Level;
import org.acplt.oncrpc.OncRpcPortmapClient; import org.acplt.oncrpc.OncRpcPortmapClient;
import org.acplt.oncrpc.OncRpcProtocols; import org.acplt.oncrpc.OncRpcProtocols;
...@@ -34,24 +32,26 @@ import org.dcache.chimera.nfs.v3.xdr.nfs3_prot; ...@@ -34,24 +32,26 @@ import org.dcache.chimera.nfs.v3.xdr.nfs3_prot;
import org.dcache.xdr.OncRpcSvc; import org.dcache.xdr.OncRpcSvc;
import org.dcache.xdr.OncRpcProgram; import org.dcache.xdr.OncRpcProgram;
import org.dcache.xdr.portmap.OncRpcEmbeddedPortmap; import org.dcache.xdr.portmap.OncRpcEmbeddedPortmap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Main { public class Main {
private final static Logger _log = Logger.getLogger(Main.class.getName()); private final static Logger _log = LoggerFactory.getLogger(Main.class);
static final int DEFAULT_PORT = 2049; static final int DEFAULT_PORT = 2049;
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
if (args.length != 1) { if (args.length != 1) {
_log.severe("Usage: Main <config>"); _log.error("Usage: Main <config>");
System.exit(1); System.exit(1);
} }
XMLconfig config = new XMLconfig(new File(args[0])); XMLconfig config = new XMLconfig(new File(args[0]));
FileSystemProvider fs = new JdbcFs(config); FileSystemProvider fs = new JdbcFs(config);
_log.log(Level.CONFIG, "starting NFSv3 on: {0}", DEFAULT_PORT); _log.info("starting NFSv3 on: {}", DEFAULT_PORT);
new OncRpcEmbeddedPortmap(2000); new OncRpcEmbeddedPortmap(2000);
...@@ -59,27 +59,27 @@ public class Main { ...@@ -59,27 +59,27 @@ public class Main {
portmap.getOncRpcClient().setTimeout(2000); portmap.getOncRpcClient().setTimeout(2000);
if (!portmap.setPort(mount_prot.MOUNT_PROGRAM, mount_prot.MOUNT_V3, OncRpcProtocols.ONCRPC_TCP, 2049)) { if (!portmap.setPort(mount_prot.MOUNT_PROGRAM, mount_prot.MOUNT_V3, OncRpcProtocols.ONCRPC_TCP, 2049)) {
_log.log(Level.SEVERE, "Failed to register mountv1 service within portmap."); _log.error("Failed to register mountv1 service within portmap.");
} }
if (!portmap.setPort(mount_prot.MOUNT_PROGRAM, mount_prot.MOUNT_V3, OncRpcProtocols.ONCRPC_UDP, 2049)) { if (!portmap.setPort(mount_prot.MOUNT_PROGRAM, mount_prot.MOUNT_V3, OncRpcProtocols.ONCRPC_UDP, 2049)) {
_log.log(Level.SEVERE, "Failed to register mountv1 service within portmap."); _log.error( "Failed to register mountv1 service within portmap.");
} }
if (!portmap.setPort(mount_prot.MOUNT_PROGRAM, mount_prot.MOUNT_V1, OncRpcProtocols.ONCRPC_TCP, 2049)) { if (!portmap.setPort(mount_prot.MOUNT_PROGRAM, mount_prot.MOUNT_V1, OncRpcProtocols.ONCRPC_TCP, 2049)) {
_log.log(Level.SEVERE, "Failed to register mountv3 service within portmap."); _log.error("Failed to register mountv3 service within portmap.");
} }
if (!portmap.setPort(mount_prot.MOUNT_PROGRAM, mount_prot.MOUNT_V1, OncRpcProtocols.ONCRPC_UDP, 2049)) { if (!portmap.setPort(mount_prot.MOUNT_PROGRAM, mount_prot.MOUNT_V1, OncRpcProtocols.ONCRPC_UDP, 2049)) {
_log.log(Level.SEVERE, "Failed to register mountv3 service within portmap."); _log.error("Failed to register mountv3 service within portmap.");
} }
if (!portmap.setPort(nfs3_prot.NFS_PROGRAM, nfs3_prot.NFS_V3, OncRpcProtocols.ONCRPC_TCP, 2049)) { if (!portmap.setPort(nfs3_prot.NFS_PROGRAM, nfs3_prot.NFS_V3, OncRpcProtocols.ONCRPC_TCP, 2049)) {
_log.log(Level.SEVERE, "Failed to register NFSv3 service within portmap."); _log.error("Failed to register NFSv3 service within portmap.");
} }
if (!portmap.setPort(nfs3_prot.NFS_PROGRAM, nfs3_prot.NFS_V3, OncRpcProtocols.ONCRPC_UDP, 2049)) { if (!portmap.setPort(nfs3_prot.NFS_PROGRAM, nfs3_prot.NFS_V3, OncRpcProtocols.ONCRPC_UDP, 2049)) {
_log.log(Level.SEVERE, "Failed to register NFSv3 service within portmap."); _log.error("Failed to register NFSv3 service within portmap.");
} }
ExportFile exports = new ExportFile(new File("/etc/exports")); ExportFile exports = new ExportFile(new File("/etc/exports"));
......
...@@ -24,8 +24,6 @@ import java.util.HashSet; ...@@ -24,8 +24,6 @@ import java.util.HashSet;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.dcache.chimera.ChimeraFsException; import org.dcache.chimera.ChimeraFsException;
import org.dcache.chimera.FileSystemProvider; import org.dcache.chimera.FileSystemProvider;
import org.dcache.chimera.FsInode; import org.dcache.chimera.FsInode;
...@@ -34,10 +32,12 @@ import org.dcache.chimera.nfs.ExportFile; ...@@ -34,10 +32,12 @@ import org.dcache.chimera.nfs.ExportFile;
import org.dcache.chimera.nfs.FsExport; import org.dcache.chimera.nfs.FsExport;
import org.dcache.xdr.RpcAuthType; import org.dcache.xdr.RpcAuthType;
import org.dcache.xdr.RpcCall; import org.dcache.xdr.RpcCall;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class MountServer extends mount_protServerStub { public class MountServer extends mount_protServerStub {
private static final Logger _log = Logger.getLogger(MountServer.class.getName()); private static final Logger _log = LoggerFactory.getLogger(MountServer.class);
private final ExportFile _exportFile; private final ExportFile _exportFile;
private final Map<String, Set<String>> _mounts = new HashMap<String, Set<String>>(); private final Map<String, Set<String>> _mounts = new HashMap<String, Set<String>>();
private final FileSystemProvider _fs; private final FileSystemProvider _fs;
...@@ -61,11 +61,11 @@ public class MountServer extends mount_protServerStub { ...@@ -61,11 +61,11 @@ public class MountServer extends mount_protServerStub {
java.io.File f = new java.io.File(arg1.value); java.io.File f = new java.io.File(arg1.value);
String mountPoint = f.getAbsolutePath(); String mountPoint = f.getAbsolutePath();
_log.log(Level.FINE, "Mount request for: {0}", mountPoint); _log.debug("Mount request for: {}", mountPoint);
if (!isAllowed(call$.getTransport().getRemoteSocketAddress().getAddress(), mountPoint)) { if (!isAllowed(call$.getTransport().getRemoteSocketAddress().getAddress(), mountPoint)) {
m.fhs_status = mountstat3.MNT3ERR_ACCES; m.fhs_status = mountstat3.MNT3ERR_ACCES;
_log.warning("Mount deny for: " + call$.getTransport().getRemoteSocketAddress().getHostName() + " " + mountPoint); _log.info("Mount deny for: {}:{}", call$.getTransport().getRemoteSocketAddress().getHostName(), mountPoint);
return m; return m;
} }
...@@ -75,9 +75,9 @@ public class MountServer extends mount_protServerStub { ...@@ -75,9 +75,9 @@ public class MountServer extends mount_protServerStub {
FsInode rootInode = null; FsInode rootInode = null;
try { try {
_log.log(Level.FINEST, "asking chimera for the root inode"); _log.debug("asking chimera for the root inode");
rootInode = _fs.path2inode(mountPoint); rootInode = _fs.path2inode(mountPoint);
_log.log(Level.FINEST, "root inode: {0}", rootInode); _log.debug("root inode: {}", rootInode);
} catch (ChimeraFsException e1) { } catch (ChimeraFsException e1) {
throw new ChimeraNFSException(mountstat3.MNT3ERR_NOENT, "Path not found"); throw new ChimeraNFSException(mountstat3.MNT3ERR_NOENT, "Path not found");
} }
...@@ -168,7 +168,7 @@ public class MountServer extends mount_protServerStub { ...@@ -168,7 +168,7 @@ public class MountServer extends mount_protServerStub {
for (String path : _exportFile.getExports()) { for (String path : _exportFile.getExports()) {
System.out.println("path: " + path);
FsExport export = _exportFile.getExport(path); FsExport export = _exportFile.getExport(path);
eList.value = new exportnode(); eList.value = new exportnode();
......
...@@ -5,16 +5,16 @@ ...@@ -5,16 +5,16 @@
*/ */
package org.dcache.chimera.nfs.v3.xdr; package org.dcache.chimera.nfs.v3.xdr;
import org.dcache.xdr.*; import org.dcache.xdr.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException; import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/** /**
*/ */
public abstract class mount_protServerStub implements RpcDispatchable { public abstract class mount_protServerStub implements RpcDispatchable {
private final static Logger _log = Logger.getLogger(mount_protServerStub.class.getName()); private final static Logger _log = LoggerFactory.getLogger(mount_protServerStub.class);
public void dispatchOncRpcCall(RpcCall call) public void dispatchOncRpcCall(RpcCall call)
throws OncRpcException, IOException { throws OncRpcException, IOException {
...@@ -25,14 +25,14 @@ public abstract class mount_protServerStub implements RpcDispatchable { ...@@ -25,14 +25,14 @@ public abstract class mount_protServerStub implements RpcDispatchable {
if ( version == 3 ) { if ( version == 3 ) {
switch ( procedure ) { switch ( procedure ) {
case 0: { case 0: {
_log.log(Level.FINEST, "MOUNTPROC3_NULL_3"); _log.debug("MOUNTPROC3_NULL_3");
call.retrieveCall(XdrVoid.XDR_VOID); call.retrieveCall(XdrVoid.XDR_VOID);
MOUNTPROC3_NULL_3(call); MOUNTPROC3_NULL_3(call);
call.reply( XdrVoid.XDR_VOID); call.reply( XdrVoid.XDR_VOID);
break; break;
} }
case 1: { case 1: {
_log.log(Level.FINEST, "MOUNTPROC3_MNT_3"); _log.debug("MOUNTPROC3_MNT_3");
dirpath args$ = new dirpath(); dirpath args$ = new dirpath();
call.retrieveCall(args$); call.retrieveCall(args$);
mountres3 result$ = MOUNTPROC3_MNT_3(call, args$); mountres3 result$ = MOUNTPROC3_MNT_3(call, args$);
...@@ -102,7 +102,7 @@ public abstract class mount_protServerStub implements RpcDispatchable { ...@@ -102,7 +102,7 @@ public abstract class mount_protServerStub implements RpcDispatchable {
break; break;
} }
case 5: { case 5: {
_log.log(Level.INFO, "processing message MOUNTPROC_EXPORT_1"); _log.debug("processing message MOUNTPROC_EXPORT_1");
call.retrieveCall(XdrVoid.XDR_VOID); call.retrieveCall(XdrVoid.XDR_VOID);
exports result$ = MOUNTPROC_EXPORT_1(call); exports result$ = MOUNTPROC_EXPORT_1(call);
call.reply( result$); call.reply( result$);
......
package org.dcache.chimera.nfs.v4; package org.dcache.chimera.nfs.v4;
import java.util.List;
import org.dcache.chimera.nfs.v4.xdr.nfsstat4;
import org.dcache.chimera.nfs.ChimeraNFSException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.dcache.chimera.FileSystemProvider; import org.dcache.chimera.FileSystemProvider;
import org.dcache.chimera.FsInode; import org.dcache.chimera.FsInode;
import org.dcache.chimera.nfs.ChimeraNFSException;
import org.dcache.chimera.nfs.ExportFile; import org.dcache.chimera.nfs.ExportFile;
import org.dcache.chimera.nfs.v4.xdr.nfs_resop4; import org.dcache.chimera.nfs.v4.xdr.nfs_resop4;
import org.dcache.chimera.nfs.v4.xdr.nfsstat4;
import org.dcache.chimera.posix.AclHandler; import org.dcache.chimera.posix.AclHandler;
import org.dcache.chimera.posix.UnixUser; import org.dcache.chimera.posix.UnixUser;
import org.dcache.xdr.RpcCall; import org.dcache.xdr.RpcCall;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
public class CompoundContext { public class CompoundContext {
private static final Logger _log = Logger.getLogger(CompoundContext.class.getName()); private static final Logger _log = LoggerFactory.getLogger(CompoundContext.class);
private FsInode _rootInode = null; private FsInode _rootInode = null;
private FsInode _currentInode = null; private FsInode _currentInode = null;
...@@ -104,7 +105,7 @@ public class CompoundContext { ...@@ -104,7 +105,7 @@ public class CompoundContext {
*/ */
public void currentInode(FsInode inode) throws ChimeraNFSException { public void currentInode(FsInode inode) throws ChimeraNFSException {
_currentInode = inode; _currentInode = inode;
_log.log(Level.FINEST, "current Inode: {0}", _currentInode.toString() ); _log.debug("current Inode: {}", _currentInode.toString() );
} }
public FsInode rootInode() { public FsInode rootInode() {
...@@ -113,7 +114,7 @@ public class CompoundContext { ...@@ -113,7 +114,7 @@ public class CompoundContext {
public void rootInode(FsInode inode) { public void rootInode(FsInode inode) {
_rootInode = inode; _rootInode = inode;
_log.log(Level.FINEST, "root Inode: {0}", _rootInode.toFullString() ); _log.debug("root Inode: {}", _rootInode.toFullString() );
} }
/** /**
...@@ -127,7 +128,7 @@ public class CompoundContext { ...@@ -127,7 +128,7 @@ public class CompoundContext {
throw new ChimeraNFSException(nfsstat4.NFS4ERR_RESTOREFH, "no saved file handle"); throw new ChimeraNFSException(nfsstat4.NFS4ERR_RESTOREFH, "no saved file handle");
} }
_currentInode = _savedInode; _currentInode = _savedInode;
_log.log(Level.FINEST, "restored Inode: {0}", _currentInode.toString() ); _log.debug("restored Inode: {}", _currentInode.toString() );
} }
public FsInode savedInode() throws ChimeraNFSException { public FsInode savedInode() throws ChimeraNFSException {
...@@ -148,7 +149,7 @@ public class CompoundContext { ...@@ -148,7 +149,7 @@ public class CompoundContext {
throw new ChimeraNFSException(nfsstat4.NFS4ERR_NOFILEHANDLE, "no file handle"); throw new ChimeraNFSException(nfsstat4.NFS4ERR_NOFILEHANDLE, "no file handle");
} }
_savedInode = _currentInode; _savedInode = _currentInode;
_log.log(Level.FINEST, "saved Inode: {0}", _savedInode.toString() ); _log.debug("saved Inode: {}", _savedInode.toString() );
} }
/** /**
......
...@@ -9,6 +9,8 @@ import org.dcache.chimera.nfs.v4.xdr.*; ...@@ -9,6 +9,8 @@ import org.dcache.chimera.nfs.v4.xdr.*;
import org.dcache.xdr.OncRpcException; import org.dcache.xdr.OncRpcException;
import org.dcache.xdr.XdrBuffer; import org.dcache.xdr.XdrBuffer;
import org.dcache.xdr.XdrEncodingStream; import org.dcache.xdr.XdrEncodingStream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException; import java.io.IOException;
import java.net.InetAddress; import java.net.InetAddress;
...@@ -19,8 +21,6 @@ import java.util.List; ...@@ -19,8 +21,6 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Random; import java.util.Random;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
/** /**
* *
...@@ -36,7 +36,7 @@ public class DeviceManager implements NFSv41DeviceManager { ...@@ -36,7 +36,7 @@ public class DeviceManager implements NFSv41DeviceManager {
*/ */
private static final deviceid4 MDS_ID = deviceidOf(0); private static final deviceid4 MDS_ID = deviceidOf(0);
private static final Logger _log = Logger.getLogger(DeviceManager.class.getName()); private static final Logger _log = LoggerFactory.getLogger(DeviceManager.class);
/* hack for multiple pools */ /* hack for multiple pools */
private final Random _deviceIdGenerator = new Random(); private final Random _deviceIdGenerator = new Random();
...@@ -64,7 +64,7 @@ public class DeviceManager implements NFSv41DeviceManager { ...@@ -64,7 +64,7 @@ public class DeviceManager implements NFSv41DeviceManager {
++id; /* 0 is reserved */ ++id; /* 0 is reserved */
deviceId = deviceidOf(id); deviceId = deviceidOf(id);
_log.log(Level.FINEST, "generating new device: {0} ({1}) for stateid {2}", _log.debug("generating new device: {} ({}) for stateid {}",
new Object[]{deviceId, id, stateid}); new Object[]{deviceId, id, stateid});
//hard coded for now //hard coded for now
...@@ -90,7 +90,7 @@ public class DeviceManager implements NFSv41DeviceManager { ...@@ -90,7 +90,7 @@ public class DeviceManager implements NFSv41DeviceManager {
*/ */
public device_addr4 getDeviceInfo(NFS4Client client, deviceid4 deviceId) { public device_addr4 getDeviceInfo(NFS4Client client, deviceid4 deviceId) {
_log.log(Level.FINEST, "lookup for device: {0}", deviceId ); _log.debug("lookup for device: {}", deviceId );
/* in case of MDS access we return the same interface which client already connected to */ /* in case of MDS access we return the same interface which client already connected to */
if(deviceId.equals(MDS_ID)) { if(deviceId.equals(MDS_ID)) {
return deviceAddrOf(client.getLocalAddress()); return deviceAddrOf(client.getLocalAddress());
...@@ -115,7 +115,7 @@ public class DeviceManager implements NFSv41DeviceManager { ...@@ -115,7 +115,7 @@ public class DeviceManager implements NFSv41DeviceManager {
*/ */
public void layoutReturn(NFS4Client client, stateid4 stateid) { public void layoutReturn(NFS4Client client, stateid4 stateid) {
// I'am fine // I'am fine
_log.log(Level.FINEST, "release device for stateid {0}", stateid ); _log.debug( "release device for stateid {}", stateid );
} }
/** /**
......
...@@ -17,13 +17,6 @@ ...@@ -17,13 +17,6 @@