当前位置:网站首页>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边栏推荐
- How to deal with the relationship between colleagues
- Login operation (for user name and password)
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 7
- C language compilation process
- Canoe: distinguish VT, VN and vteststudio from their development history
- QQ get group information
- Data transmission in the network
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
- Canoe test: two ways to create CAPL test module
- 2018 meisai modeling summary +latex standard meisai template sharing
猜你喜欢

Automatic translation between Chinese and English

OSI model notes

Experiment 7. IPv6

Fundamentals of software testing

Digital simulation beauty match preparation -matlab basic operation No. 6

Properties and methods of OS Library

OSI seven layer model & unit

2018 meisai modeling summary +latex standard meisai template sharing

Foreach (system.out:: println) usage

Summary of Shanghai Jiaotong University postgraduate entrance examination module -- cryptography
随机推荐
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 15
Climb Phoenix Mountain on December 19, 2021
Reptile learning 3 (winter vacation learning)
Oracle11g | getting started with database. It's enough to read this 10000 word analysis
Polymorphic system summary
How do std:: function and function pointer assign values to each other
If function in SQL
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 24
Workplace liquor bureau must pay attention to
20 kinds of hardware engineers must be aware of basic components | the latest update to 8.13
Attributes and methods in math library
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
Global function Encyclopedia
Using terminal connection in different modes of virtual machine
Force buckle 142 Circular linked list II
TCP fast retransmission sack mechanism
Canoe: the difference between environment variables and system variables
Lvs+kept realizes four layers of load and high availability
QQ get group information
Understanding of object