Skip to content

Commit

Permalink
#2 logging fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 7, 2019
1 parent e7fb940 commit e4cbca0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SOFTWARE.
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>rpm-files</name>
<description>Turns your files into RPM artifacts</description>
<description>Turns your files/objects into RPM artifacts</description>
<url>https://github.com/yegor256/rpm-files</url>
<inceptionYear>2019</inceptionYear>
<licenses>
Expand Down Expand Up @@ -114,6 +114,10 @@ SOFTWARE.
</dependencies>
<build>
<testResources>
<testResource>
<directory>${basedir}/src/test/resources</directory>
<filtering>true</filtering>
</testResource>
<testResource>
<directory>${basedir}/src/test/resources-binary</directory>
<filtering>false</filtering>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/yegor256/rpm/Update.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void apply(final Directives dirs) throws IOException {
}
final String doc = new XMLDocument(output).toString();
Files.write(this.xml, doc.getBytes(StandardCharsets.UTF_8));
Logger.info(this, "Saved: %s", doc);
Logger.debug(this, "Saved:\n%s", doc);
}

}

0 comments on commit e4cbca0

Please sign in to comment.