[OpenSIPS-Users] rest_post logs
Alberto
alberto.rinaudo at gmail.com
Tue Sep 19 09:14:35 UTC 2023
Hi,
Thanks for your reply,
I'm using v3.2.
I realized that that's the output from libcurl, which I can turn off by
setting log_stdout and log_stderror to no.
Thanks again
p.s. Have you ever thought about a forum instead of the mailing list? I
would have gone back and answered/closed my own question, but I didn't know
if I should have done that via mail.
On Tue, 19 Sept 2023 at 09:57, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:
> 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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230919/7ae743eb/attachment.html>
More information about the Users
mailing list