xingren23/ComfyFlowApp

Unknown message type crystools.monitor should be hidden

Opened this issue · 0 comments

The crystools.monitor regularly communicates with comfyui through websocket to obtain the status of CPU, GPU and other resources, like below:

image

When comfyflowapp communicates with comfyui through websocket, it will receives and outputs many Unknown messages. It is recommended to hide them:

2024-03-22 00:32:06.950 | INFO     | modules.comfyclient:upload_image:64 - Uploading image to server, {'subfolder': '', 'type': 'input', 'overwrite': 'true'}
2024-03-22 00:32:07.697 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:08.714 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:09.000 | INFO     | modules.comfyclient:queue_remaining:34 - Got remaining from http://localhost:9000/prompt
2024-03-22 00:32:09.734 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:10.744 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:11.753 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:12.772 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:13.785 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:14.794 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:15.813 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:16.819 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:17.823 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:18.839 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:19.847 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:20.868 | WARNING  | modules.comfyclient:_websocket_loop:146 - Unknown message type crystools.monitor
2024-03-22 00:32:21.281 | INFO     | modules.comfyclient:_websocket_loop:131 - workflow finished, exiting websocket loop2024-03-22 00:32:21.281 | INFO     | modules.comfyclient:get_history:71 - Getting history from server, 5a01f108-d252-4756-961a-9c1ed846a2dc
2024-03-22 00:32:23.315 | WARNING  | modules.comfyflow:create_ui:271 - get progress exception, '938'