mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Decrease logging verbosity in FileUtils.readFile(File)
This commit is contained in:
parent
525fece291
commit
b23df7d2b8
1 changed files with 3 additions and 1 deletions
|
@ -124,7 +124,9 @@ public final class FileUtils {
|
||||||
public static String readFile(File file) {
|
public static String readFile(File file) {
|
||||||
try {
|
try {
|
||||||
return readFileOrThrow(file);
|
return readFileOrThrow(file);
|
||||||
} catch (Exception e) {
|
} catch (FileNotFoundException e) {
|
||||||
|
LOGGER.log(Level.FINE, "readFile", e);
|
||||||
|
} catch (IOException e) {
|
||||||
LOGGER.log(Level.WARNING, "readFile", e);
|
LOGGER.log(Level.WARNING, "readFile", e);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue