@@ -14,33 +14,33 @@ export default class InfrastructureStatus {
1414 checkPostgresStatus : boolean ;
1515 checkClickhouseStatus : boolean ;
1616 } ) : Promise < void > {
17- logger . debug ( "Checking infrastructure status" ) ;
17+ logger . info ( "Checking infrastructure status" ) ;
1818
1919 if ( data . checkRedisStatus ) {
20- logger . debug ( "Checking Redis status" ) ;
20+ logger . info ( "Checking Redis status" ) ;
2121 if ( ! ( await Redis . checkConnnectionStatus ( ) ) ) {
22- logger . debug ( "Redis is not connected" ) ;
22+ logger . info ( "Redis is not connected" ) ;
2323 throw new DatabaseNotConnectedException ( "Redis is not connected" ) ;
2424 }
25- logger . debug ( "Redis is connected" ) ;
25+ logger . info ( "Redis is connected" ) ;
2626 }
2727
2828 if ( data . checkPostgresStatus ) {
29- logger . debug ( "Checking Postgres status" ) ;
29+ logger . info ( "Checking Postgres status" ) ;
3030 if ( ! ( await PostgresAppInstance . checkConnnectionStatus ( ) ) ) {
31- logger . debug ( "Postgres is not connected" ) ;
31+ logger . info ( "Postgres is not connected" ) ;
3232 throw new DatabaseNotConnectedException ( "Postgres is not connected" ) ;
3333 }
34- logger . debug ( "Postgres is connected" ) ;
34+ logger . info ( "Postgres is connected" ) ;
3535 }
3636
3737 if ( data . checkClickhouseStatus ) {
38- logger . debug ( "Checking Clickhouse status" ) ;
38+ logger . info ( "Checking Clickhouse status" ) ;
3939 if ( ! ( await ClickhouseAppInstance . checkConnnectionStatus ( ) ) ) {
40- logger . debug ( "Clickhouse is not connected" ) ;
40+ logger . info ( "Clickhouse is not connected" ) ;
4141 throw new DatabaseNotConnectedException ( "Clickhouse is not connected" ) ;
4242 }
43- logger . debug ( "Clickhouse is connected" ) ;
43+ logger . info ( "Clickhouse is connected" ) ;
4444 }
4545 }
4646
0 commit comments