当前位置:网站首页>How to disable debug messages on sockjs stomp - how to disable debug messages on sockjs Stomp
How to disable debug messages on sockjs stomp - how to disable debug messages on sockjs Stomp
2022-07-04 11:38:00 【Rich in starch】
problem :
I have the follow situation: I have the following conditions :
var options = { protocols_whitelist : [ "websocket", "xhr-streaming", "xdr-streaming", "xhr-polling", "xdr-polling", "iframe-htmlfile", "iframe-eventsource", "iframe-xhr-polling" ], debug : false }; var socket = new SockJS("/mmyurl/",undefined,options); var stompClient = Stomp.over(socket); stompClient.connect({ company : "XXXXX" }, function(frame) { stompClient.subscribe('/topic/mytopic', function(message){ var myitem = JSON.parse(message.body); });
all works fine, the problem is that on the javascript console is full of debug messages like this: Everything is all right , The problem is javascript The console is full of such debugging messages :
<<< MESSAGEcontent-type:application/json;charset=UTF-8subscription:sub-1message-id:o6g660dt-113destination:/topic/mytopiccontent-length:411
And I want to disable the messages. I want to disable these messages .
I tried to change some option and also tried to register simply: I tried to change some options , Also try to simply register :
var socket = new SockJS("/mmyurl/");
but it doesn't work. But it doesn't work .
Is there a way to disable the debug messages? Is there any way to disable debugging messages ?
Any help is appreciated To express appreciation for any help
Solution :
Reference resources : https://stackoom.com/en/question/1jlKI边栏推荐
- Games101 Lesson 8 shading 2 Notes
- Lvs+kept realizes four layers of load and high availability
- TCP fast retransmission sack mechanism
- 2020 Summary - Magic year, magic me
- QQ get group link, QR code
- 2018 meisai modeling summary +latex standard meisai template sharing
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9
- No response after heartbeat startup
- SQL greatest() function instance detailed example
- Fundamentals of software testing
猜你喜欢
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23
Ultimate bug finding method - two points
Day01 preliminary packet capture
Some summaries of the 21st postgraduate entrance examination 823 of network security major of Shanghai Jiaotong University and ideas on how to prepare for the 22nd postgraduate entrance examination pr
TCP fast retransmission sack mechanism
Analysis function in SQL
SQL greatest() function instance detailed example
QQ group administrators
Enter the smart Park, and change begins here
Practical dry goods: deploy mini version message queue based on redis6.0
随机推荐
Elevator dispatching (pairing project) ③
Introduction of network security research direction of Shanghai Jiaotong University
Postman advanced
Decrypt the advantages of low code and unlock efficient application development
Configure SSH key to realize login free
Common tips
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12
Canoe: what is vtsystem
C language compilation process
Reptile learning 4 winter vacation series (3)
Enter the smart Park, and change begins here
Is Sanli futures safe? How to open a futures account? How to reduce the handling charge of futures at present?
Ternsort model integration summary
OSI seven layer model & unit
Take advantage of the world's sleeping gap to improve and surpass yourself -- get up early
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 19
netstat
Notes on writing test points in mind mapping
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 17
(2021-08-20) web crawler learning 2