[OpenSIPS-Users] rest_post logs
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Sep 19 08:57:16 UTC 2023
HI Alberto,
What OpenSIPS version do you have?
And are those the only log lines you get ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 9/1/23 4:43 PM, Alberto wrote:
> Hi,
>
> Is there a way to turn off logs for rest_post requests?
>
> This is my log settings:
> log_level=-1
> xlog_level=-1
> log_stdout=yes
> log_stderror=yes
> log_facility=LOG_LOCAL0
>
> This is the type of output I want to suppress:
> Sep 01 13:31:48 opensips opensips[59740]: > POST /api/opensips/doit
> HTTP/1.1
> Sep 01 13:31:48 opensips opensips[59740]: Host: 127.0.0.1
> Sep 01 13:31:48 opensips opensips[59740]: Accept: */*
> Sep 01 13:31:48 opensips opensips[59740]: Content-Type: application/json
> Sep 01 13:31:48 opensips opensips[59740]: Content-Length: 156
> Sep 01 13:31:48 opensips opensips[59740]:
> Sep 01 13:31:48 opensips opensips[59740]: * upload completely sent
> off: 156 out of 156 bytes
> Sep 01 13:31:48 opensips opensips[59740]: * Mark bundle as not
> supporting multiuse
> Sep 01 13:31:48 opensips opensips[59740]: < HTTP/1.1 200 OK
> Sep 01 13:31:48 opensips opensips[59740]: < Server: nginx
> Sep 01 13:31:48 opensips opensips[59740]: < Date: Fri, 01 Sep 2023
> 13:31:48 GMT
> Sep 01 13:31:48 opensips opensips[59740]: < Content-Type:
> application/json; charset=utf-8
> Sep 01 13:31:48 opensips opensips[59740]: < Content-Length: 360
> Sep 01 13:31:48 opensips opensips[59740]: < Connection: keep-alive
> Sep 01 13:31:48 opensips opensips[59740]: < Access-Control-Allow-Origin: *
> Sep 01 13:31:48 opensips opensips[59740]: < Content-Security-Policy:
> default-src 'self';base-uri 'self';font-src 'self' https:
> data:;form-action 'self';frame-ancestors 'self';img-src 'self'
> data:;object-src 'none';script-src 'self';script-src-attr
> 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
> Sep 01 13:31:48 opensips opensips[59740]: <
> Cross-Origin-Opener-Policy: same-origin
> Sep 01 13:31:48 opensips opensips[59740]: <
> Cross-Origin-Resource-Policy: same-origin
> Sep 01 13:31:48 opensips opensips[59740]: < Origin-Agent-Cluster: ?1
> Sep 01 13:31:48 opensips opensips[59740]: < Referrer-Policy: no-referrer
> Sep 01 13:31:48 opensips opensips[59740]: < Strict-Transport-Security:
> max-age=15552000; includeSubDomains
> Sep 01 13:31:48 opensips opensips[59740]: < X-Content-Type-Options:
> nosniff
> Sep 01 13:31:48 opensips opensips[59740]: < X-DNS-Prefetch-Control: off
> Sep 01 13:31:48 opensips opensips[59740]: < X-Download-Options: noopen
> Sep 01 13:31:48 opensips opensips[59740]: < X-Frame-Options: SAMEORIGIN
> Sep 01 13:31:48 opensips opensips[59740]: <
> X-Permitted-Cross-Domain-Policies: none
> Sep 01 13:31:48 opensips opensips[59740]: < X-XSS-Protection: 0
> Sep 01 13:31:48 opensips opensips[59740]: <
> Sep 01 13:31:48 opensips opensips[59740]: * Connection #0 to host
> 127.0.0.1 left intact
>
> Thanks
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230919/21b902f1/attachment.html>
More information about the Users
mailing list