Skip to content
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

Merged
merged 3 commits into from
Aug 28, 2017
Merged

feature/logging #59

merged 3 commits into from
Aug 28, 2017

Conversation

rodionovsasha
Copy link
Owner

log - 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");
Copy link
Collaborator

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 + "'");
Copy link
Collaborator

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

@rodionovsasha rodionovsasha merged commit bbc424a into master Aug 28, 2017
@rodionovsasha rodionovsasha deleted the feature/logging branch August 28, 2017 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants