-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature/logging #59
feature/logging #59
Conversation
rodionovsasha
commented
Aug 28, 2017
- usage example
@@ -26,6 +27,7 @@ private Node loadRootNode() { | |||
try { | |||
return Node.root(YmlUtil.load(path)); | |||
} catch (IOException exception) { | |||
log.warn("file '.cong.yml' not found, using defaults"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -49,6 +51,7 @@ private boolean isNotConfig(Path file) { | |||
private Fixture loadFixture(Path file) { | |||
String name = getFixtureName(file); | |||
val baseColumns = config.columns().forTable(name); | |||
log.info("Processing table '" + name + "'"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should move this logging into some place at the Processor
. FixturesLoader
does not even loading a fixture - this operation is lazy