Skip to content

Commit

Permalink
Fix ArchiveUtils logging levels.
Browse files Browse the repository at this point in the history
References GH-175
  • Loading branch information
Karl Sabo committed Nov 18, 2020
1 parent 4c3624f commit 83f51e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Packr/src/main/java/com/badlogicgames/packr/ArchiveUtils.java
Expand Up @@ -502,7 +502,7 @@ private static int getUnixMode (Path file) throws IOException {
if (permissions.contains(PosixFilePermission.OTHERS_EXECUTE)) {
mode |= OTHERS_EXECUTE_BIT_MASK;
}
LOG.debug("Unix mode of file=" + file + ", mode=" + Integer.toOctalString(mode) + ", permissions=" + permissions);
LOG.trace("Unix mode of file=" + file + ", mode=" + Integer.toOctalString(mode) + ", permissions=" + permissions);
return mode;
}

Expand All @@ -516,7 +516,7 @@ private static int getUnixMode (Path file) throws IOException {
*/
private static String getRelativePathString (Path path, Path rootDirectory) {
String relativePathString = rootDirectory.relativize(path).toString().replaceAll("\\\\", "/");
LOG.error("Creating relative path from path=" + path + ", rootDirectory=" + rootDirectory + ", relativePathString=" + relativePathString);
LOG.trace("Creating relative path from path=" + path + ", rootDirectory=" + rootDirectory + ", relativePathString=" + relativePathString);
return relativePathString;
}

Expand Down

0 comments on commit 83f51e2

Please sign in to comment.