mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 08:04:14 +01:00
add datetime string to initial auth hash, add logging for discord commands, add file logger
This commit is contained in:
parent
507c7cac11
commit
9c88f3cfcf
4 changed files with 15 additions and 1 deletions
|
|
@ -138,6 +138,7 @@ namespace MareSynchronosServices
|
|||
var otherPairData = dbContext.ClientPairs.Include(u => u.User)
|
||||
.Where(u => u.OtherUser.UID == user.UID).ToList();
|
||||
|
||||
_logger.LogInformation("User purged: {uid}", user.UID);
|
||||
|
||||
metrics.DecGauge(MetricsAPI.GaugePairs, ownPairData.Count + otherPairData.Count);
|
||||
metrics.DecGauge(MetricsAPI.GaugePairsPaused, ownPairData.Count + ownPairData.Count(c => c.IsPaused));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue