aboutsummaryrefslogtreecommitdiffstats
path: root/lib/msgstore.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-06-07 21:34:34 +0200
committerRobin Jarry <robin@jarry.cc>2023-06-12 11:23:14 +0200
commit263d8cbec504bf56791dd3aa8c1e440d96b27d4a (patch)
tree4d358915e7ae2eed0850f4efb9b6dde5c3ddf0e2 /lib/msgstore.go
parent1bd6612c78dc00fd04ef5d614d729e3c0ece7ac8 (diff)
downloadaerc-263d8cbec504bf56791dd3aa8c1e440d96b27d4a.tar.gz
logging: remove ultra verbose trace logs
Every message exchanged between the UI and the worker(s) is logged at least twice with some obscure IDs and struct pointer names. When enabling trace logging, this floods the files for very little or no benefit and makes the meaningful logging message hard to catch. Also, other messages tend to flood the output for no specific reason. These are most of the time leftovers from the development process and are not useful for tracking potential issues. Remove these. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Inwit <inwit@sindominio.net>
Diffstat (limited to 'lib/msgstore.go')
-rw-r--r--lib/msgstore.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index 29b3c53c..528ce2fa 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -421,9 +421,7 @@ func (store *MessageStore) runThreadBuilder() {
}
}
if store.threadBuilderDebounce != nil {
- if store.threadBuilderDebounce.Stop() {
- log.Tracef("thread builder debounced")
- }
+ store.threadBuilderDebounce.Stop()
}
store.threadBuilderDebounce = time.AfterFunc(store.threadBuilderDelay, func() {
store.runThreadBuilderNow()