Skip to content

Commit

Permalink
Merge pull request #194 from dudaerich/JBEAP-10670
Browse files Browse the repository at this point in the history
ARTEMIS-1199 JDBCSequentialFile prints log to System.out
  • Loading branch information
mtaylor committed Jun 5, 2017
2 parents 161d706 + 17f9873 commit c060fad
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -156,7 +156,9 @@ private synchronized int internalWrite(byte[] data, IOCallback callback) throws
synchronized (writeLock) {
int noBytes = dbDriver.writeToFile(this, data);
seek(noBytes);
System.out.println("Write: ID: " + this.getId() + " FileName: " + this.getFileName() + size());
if (logger.isTraceEnabled()) {
logger.trace("Write: ID: " + this.getId() + " FileName: " + this.getFileName() + size());
}
if (callback != null)
callback.done();
return noBytes;
Expand Down

0 comments on commit c060fad

Please sign in to comment.