Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Log failing record at a higher log level. (#210, #192)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed Apr 1, 2022
1 parent 7021661 commit c25517a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion metafix/src/main/java/org/metafacture/metafix/Metafix.java
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ protected void handleInternal(final FixExecutionException exception, final Recor
};

public void handle(final FixExecutionException exception, final Record record) {
LOG.debug("Current record: {}", record);
LOG.info("Current record: {}", record);
handleInternal(exception, record);
}

Expand Down
5 changes: 5 additions & 0 deletions metafix/src/test/resources/simplelogger.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SLF4J's SimpleLogger configuration file
#
# See https://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html

org.slf4j.simpleLogger.defaultLogLevel=warn

0 comments on commit c25517a

Please sign in to comment.