当前位置:网站首页>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:411And 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边栏推荐
- Attributes and methods in math library
- Lvs+kept realizes four layers of load and high availability
- SSH原理和公钥认证
- R built in data set
- Introduction of network security research direction of Shanghai Jiaotong University
- Canoe - the third simulation project - bus simulation - 3-2 project implementation
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 19
- 三立期货安全么?期货开户怎么开?目前期货手续费怎么降低?
- About the use of URL, href, SRC attributes
- regular expression
猜你喜欢

DDS-YYDS

Serialization oriented - pickle library, JSON Library
![Entitas learning [3] multi context system](/img/f9/a3ce86ff2121dd1043305b7e834cc5.jpg)
Entitas learning [3] multi context system

Foreach (system.out:: println) usage

Notes on writing test points in mind mapping

Failed to configure a DataSource: ‘url‘ attribute is not specified... Bug solution

Attributes and methods in math library
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23](/img/72/a80ee7ee7b967b0afa6018070d03c9.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23

Function introduction of canbedded component

Ultimate bug finding method - two points
随机推荐
Common built-in modules
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
Introduction of network security research direction of Shanghai Jiaotong University
Data transmission in the network
8.8.1-PointersOnC-20220214
QQ group administrators
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 17
Climb Phoenix Mountain on December 19, 2021
Postman advanced
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20
Elevator dispatching (pairing project) ④
TCP slicing and PSH understanding
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 15
Review of week 278 of leetcode II
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9
Fundamentals of software testing
Some tips on learning database
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
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 19
R built in data set