Amarisoft

How to Control logging options with remote API ?

 

You can control logging options (i.e, what kind of information you want to capture) as shown in the following example :

./ws.js 127.0.0.1:9002 '{"message":"config_set","logs":{ "layers":{"PHY": {"level":"debug","max_size":1,"payload":false}}}}'