Skip to content

Commit cb89026

Browse files
committed
fix: the condition to suppress logging: org.apache.commons.logging.Log
1 parent 209c1a8 commit cb89026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/embulk/output/sftp/SftpFileOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class SftpFileOutput
4646

4747
private StandardFileSystemManager initializeStandardFileSystemManager()
4848
{
49-
if (logger.isDebugEnabled()) {
49+
if (!logger.isDebugEnabled()) {
5050
// TODO: change logging format: org.apache.commons.logging.Log
5151
System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.NoOpLog");
5252
}

0 commit comments

Comments
 (0)