chatgui: clean up log — remove spam, move messages to proper categories
A-B: Remove gui_bridge_post_uasync_fn log, MainWindow::onMessageReceived, InputBar send text B1: Move lifecycle messages to GENERAL (utun_node, main, mainwindow, animtimer, sound_manager, messagelist, db_manager) B2: Move chat events to CHAT_SYNC (MSG_RECEIVED, CHANNEL_UPDATED, CHANNEL_PEERS_ONLINE, DB_READY) B3: Move peer/connect events to MEMBER_SYNC (CONNECT_RESULT, NEW_PEER, AUTO_CONNECT, NODE_CHANGED) C: Lower level of C-side spam (recalc, send OK, PUSH ACK, connect_channel) INFO->DEBUG D: Fix duplicate PUSH log line in db_sync.c E: Add debounce to CHANNEL_PEERS_ONLINE — log only on change Misc: Remove sort=0 from ChannelList::loadChannels, improve DB_READY message
This commit is contained in:
1 parent
be0e76c9a6
commit
5feeb2c169
12 files changed
+49
-58
No files matched your search
@@ -234,8 +234,6 @@ void InputBar::onSendClicked() {
|
||||
m_attachPreview->hide();
|
||||
}
|
||||
if (!text.isEmpty()) {
|
||||
GUI_INFO("send: len=%d hasLF=%d text='%s'",
|
||||
text.length(), text.contains('\n'), qPrintable(text));
|
||||
emit sendMessage(text);
|
||||
m_input->clear();
|
||||
if (m_emojiPanel) m_emojiPanel->hide();
|
||||
|
||||
Reference in new issue
Block a user