File tree 1 file changed +0
-3
lines changed 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ pub(crate) async fn connect(configuration: DatabaseConfiguration) -> Result<Impl
52
52
let connect_options = sqlx:: sqlite:: SqliteConnectOptions :: new ( )
53
53
. create_if_missing ( true )
54
54
. filename ( filename)
55
- . log_statements ( LevelFilter :: Off )
56
55
. log_slow_statements ( LevelFilter :: Warn , SLOW_STATEMENTS ) ;
57
56
Impl :: Sqlite (
58
57
pool_options ! ( sqlx:: sqlite:: SqlitePoolOptions )
@@ -79,7 +78,6 @@ pub(crate) async fn connect(configuration: DatabaseConfiguration) -> Result<Impl
79
78
. username ( user. as_str ( ) )
80
79
. password ( password. as_str ( ) )
81
80
. database ( name. as_str ( ) )
82
- . log_statements ( LevelFilter :: Off )
83
81
. log_slow_statements ( LevelFilter :: Warn , SLOW_STATEMENTS ) ;
84
82
Impl :: Postgres (
85
83
pool_options ! ( sqlx:: postgres:: PgPoolOptions )
@@ -106,7 +104,6 @@ pub(crate) async fn connect(configuration: DatabaseConfiguration) -> Result<Impl
106
104
. username ( user. as_str ( ) )
107
105
. password ( password. as_str ( ) )
108
106
. database ( name. as_str ( ) )
109
- . log_statements ( LevelFilter :: Off )
110
107
. log_slow_statements ( LevelFilter :: Warn , SLOW_STATEMENTS ) ;
111
108
Impl :: MySql (
112
109
pool_options ! ( sqlx:: mysql:: MySqlPoolOptions )
You can’t perform that action at this time.
0 commit comments