Pool identical messages in debug output

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-03-12 20:48:01 +01:00
parent 0631cb4984
commit 0219e5dfe0
No known key found for this signature in database
GPG key ID: 4CDA6F249DD2B485

View file

@ -1273,7 +1273,7 @@ show_clients() {
}
show_messages() {
show_FTL_db_entries "Pi-hole diagnosis messages" "SELECT id,datetime(timestamp,'unixepoch','localtime') timestamp,type,message,blob1,blob2,blob3,blob4,blob5 FROM message;" "4 19 20 60 20 20 20 20 20"
show_FTL_db_entries "Pi-hole diagnosis messages" "SELECT count (message) as count, type, message, blob1, blob2, blob3, blob4, blob5 FROM message GROUP BY type, message, blob1, blob2, blob3, blob4, blob5;" "6 20 60 20 20 20 20 20"
}
analyze_gravity_list() {