mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Improve logging
Co-authored-by: kegsay <kegan@matrix.org>
This commit is contained in:
parent
7cbefdfbbe
commit
6b92d62116
@ -54,7 +54,7 @@ func deleteFromTable(ctx context.Context, tx *sql.Tx, table string, roomIDs []st
|
||||
if err != nil {
|
||||
logger.Warn().Err(err).Msgf("Couldn't get number of rows deleted from %s", table)
|
||||
} else {
|
||||
logger.Info().Msgf("Deleted %d snapshots from %s", ra, table)
|
||||
logger.Info().Msgf("Deleted %d rows from %s", ra, table)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user