Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace java.util.logging by slf4j #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/main/java/ome/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
import java.util.logging.Logger;

import ome.model.IObject;
import ome.model.internal.Permissions;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* various tools needed throughout Omero.
*
Expand All @@ -25,7 +27,7 @@
*/
public class Utils {

private final static Logger log = Logger.getLogger(Utils.class.getName());
private final static Logger log = LoggerFactory.getLogger(Utils.class.getName());

protected final static String CGLIB_IDENTIFIER = "$$EnhancerByCGLIB$$";

Expand Down Expand Up @@ -157,7 +159,7 @@ public static String getThreadIdentifier() {

public static void closeQuietly(Closeable is) {
if (is == null) {
log.fine("Closeable is null");
log.trace("Closeable is null");
} else {
try {
is.close();
Expand Down
Loading