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

Add more logging #55

Merged
merged 2 commits into from
Mar 26, 2019
Merged

Add more logging #55

merged 2 commits into from
Mar 26, 2019

Conversation

labianchin
Copy link
Collaborator

In this way it easier to help users troubleshoot.

@labianchin labianchin requested a review from anish749 March 22, 2019 15:02
@@ -81,7 +81,9 @@ public JdbcConnectionArgs withPassword(String password) {

public Connection createConnection() throws Exception {
Class.forName(driverClassName());
Connection connection = DriverManager.getConnection(url(), username(), password());
LOGGER.info("Creating JDBC connection to {} with user {}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure?
I am not sure I follow. You removed the connection here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops. My mistake.

@codecov
Copy link

codecov bot commented Mar 25, 2019

Codecov Report

Merging #55 into master will increase coverage by 0.15%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #55      +/-   ##
============================================
+ Coverage     88.83%   88.98%   +0.15%     
- Complexity      155      156       +1     
============================================
  Files            21       21              
  Lines           573      581       +8     
  Branches         36       36              
============================================
+ Hits            509      517       +8     
  Misses           46       46              
  Partials         18       18

@labianchin labianchin merged commit d3ee342 into master Mar 26, 2019
@labianchin labianchin deleted the log branch March 26, 2019 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants