mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Reduce the log level of various common events
This commit is contained in:
parent
823688e63d
commit
545e8df6a7
4 changed files with 5 additions and 5 deletions
|
|
@ -337,7 +337,7 @@ namespace PluralKit.Bot
|
|||
|
||||
if (argPos > -1)
|
||||
{
|
||||
_logger.Debug("Parsing command {Command} from message {Channel}-{Message}", msg.Content, msg.Channel.Id, msg.Id);
|
||||
_logger.Verbose("Parsing command {Command} from message {Channel}-{Message}", msg.Content, msg.Channel.Id, msg.Id);
|
||||
|
||||
// Essentially move the argPos pointer by however much whitespace is at the start of the post-argPos string
|
||||
var trimStartLengthDiff = msg.Content.Substring(argPos).Length -
|
||||
|
|
@ -400,7 +400,7 @@ namespace PluralKit.Bot
|
|||
_metrics.Measure.Meter.Mark(BotMetrics.MessagesReceived);
|
||||
|
||||
var gatewayLatency = DateTimeOffset.Now - msg.CreatedAt;
|
||||
_logger.Debug("Message received with latency {Latency}", gatewayLatency);
|
||||
_logger.Verbose("Message received with latency {Latency}", gatewayLatency);
|
||||
}
|
||||
|
||||
public Task HandleReactionAdded(Cacheable<IUserMessage, ulong> message, ISocketMessageChannel channel,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue