File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -380,15 +380,15 @@ def start_transaction(self):
380
380
raise errors .DataJointError ("Nested connections are not supported." )
381
381
self .query ("START TRANSACTION WITH CONSISTENT SNAPSHOT" )
382
382
self ._in_transaction = True
383
- logger .info ("Transaction started" )
383
+ logger .debug ("Transaction started" )
384
384
385
385
def cancel_transaction (self ):
386
386
"""
387
387
Cancels the current transaction and rolls back all changes made during the transaction.
388
388
"""
389
389
self .query ("ROLLBACK" )
390
390
self ._in_transaction = False
391
- logger .info ("Transaction cancelled. Rolling back ..." )
391
+ logger .debug ("Transaction cancelled. Rolling back ..." )
392
392
393
393
def commit_transaction (self ):
394
394
"""
@@ -397,7 +397,7 @@ def commit_transaction(self):
397
397
"""
398
398
self .query ("COMMIT" )
399
399
self ._in_transaction = False
400
- logger .info ("Transaction committed and closed." )
400
+ logger .debug ("Transaction committed and closed." )
401
401
402
402
# -------- context manager for transactions
403
403
@property
You can’t perform that action at this time.
0 commit comments