-
-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspriority: low
Description
Describe the bug
DatabaseProvider generates new loggers inside its methods
Expected behavior
The logger should be put into a private static field called logger
Additional context
Occurences:
- line 37
catch (final SQLException e) {
LoggerFactory.getLogger(DatabaseProvider.class)
.error("Exception while creating Database.", e);
throw new FatalBeanException("Could not create Database.", e);
}- line 49
catch (final IOException e) {
LoggerFactory.getLogger(DatabaseProvider.class)
.error("Exception while creating Database-Path.", e);
}Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspriority: low