File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
ebean-datasource/src/main/java/io/ebean/datasource/pool Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1313
1414 <dependencies >
1515
16+ <dependency >
17+ <groupId >io.avaje</groupId >
18+ <artifactId >avaje-applog</artifactId >
19+ <version >1.0</version >
20+ </dependency >
21+
1622 <dependency >
1723 <groupId >io.avaje</groupId >
1824 <artifactId >junit</artifactId >
Original file line number Diff line number Diff line change 11package io .ebean .datasource ;
22
3+ import io .avaje .applog .AppLog ;
4+
35import java .sql .Connection ;
46import java .sql .PreparedStatement ;
57import java .sql .SQLException ;
911 */
1012public class PostgresInitDatabase implements InitDatabase {
1113
12- private static final System .Logger log = System .getLogger ("io.ebean.datasource" );
14+ private static final System .Logger log = AppLog .getLogger ("io.ebean.datasource" );
1315
1416 @ Override
1517 public void run (Connection connection , DataSourceConfig config ) throws SQLException {
Original file line number Diff line number Diff line change 11module io .ebean .datasource .api {
22
33 requires transitive java .sql ;
4+ requires transitive io .avaje .applog ;
45
56 uses io .ebean .datasource .DataSourceFactory ;
67
Original file line number Diff line number Diff line change 11package io .ebean .datasource .pool ;
22
3+ import io .avaje .applog .AppLog ;
4+
35import static java .lang .System .Logger .Level .*;
46
57/**
68 * Common Logger instance for datasource implementation.
79 */
810final class Log {
911
10- static final System .Logger log = System .getLogger ("io.ebean.datasource" );
12+ static final System .Logger log = AppLog .getLogger ("io.ebean.datasource" );
1113
1214 static void debug (String message , Object ... params ) {
1315 log .log (DEBUG , message , params );
You can’t perform that action at this time.
0 commit comments