<div dir="ltr"><div>Hi,</div><div><br></div><div>Thanks for your reply,</div><div><br></div><div>I'm using v3.2.</div><div>I realized that that's the output from libcurl, which I can turn off by settingĀ log_stdout and log_stderror to no.</div><div><br></div><div>Thanks again</div><div><br></div><div>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.<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 19 Sept 2023 at 09:57, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<font face="monospace">HI Alberto,<br>
<br>
What OpenSIPS version do you have? <br>
<br>
And are those the only log lines you get ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 9/1/23 4:43 PM, Alberto wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>Is there a way to turn off logs for rest_post requests?</div>
<div><br>
</div>
<div>This is my log settings:<br>
</div>
<div>log_level=-1</div>
<div>xlog_level=-1<br>
log_stdout=yes<br>
log_stderror=yes<br>
log_facility=LOG_LOCAL0</div>
<div><br>
</div>
<div>This is the type of output I want to suppress:</div>
<div>Sep 01 13:31:48 opensips opensips[59740]: > POST
/api/opensips/doit HTTP/1.1<br>
Sep 01 13:31:48 opensips opensips[59740]: Host: 127.0.0.1<br>
Sep 01 13:31:48 opensips opensips[59740]: Accept: */*<br>
Sep 01 13:31:48 opensips opensips[59740]: Content-Type:
application/json<br>
Sep 01 13:31:48 opensips opensips[59740]: Content-Length: 156<br>
Sep 01 13:31:48 opensips opensips[59740]: <br>
Sep 01 13:31:48 opensips opensips[59740]: * upload completely
sent off: 156 out of 156 bytes<br>
Sep 01 13:31:48 opensips opensips[59740]: * Mark bundle as not
supporting multiuse<br>
Sep 01 13:31:48 opensips opensips[59740]: < HTTP/1.1 200 OK<br>
Sep 01 13:31:48 opensips opensips[59740]: < Server: nginx<br>
Sep 01 13:31:48 opensips opensips[59740]: < Date: Fri, 01
Sep 2023 13:31:48 GMT<br>
Sep 01 13:31:48 opensips opensips[59740]: < Content-Type:
application/json; charset=utf-8<br>
Sep 01 13:31:48 opensips opensips[59740]: < Content-Length:
360<br>
Sep 01 13:31:48 opensips opensips[59740]: < Connection:
keep-alive<br>
Sep 01 13:31:48 opensips opensips[59740]: <
Access-Control-Allow-Origin: *<br>
Sep 01 13:31:48 opensips opensips[59740]: <
Content-Security-Policy: default-src 'self';base-uri
'self';font-src 'self' https: <a>data:;form-action</a>
'self';frame-ancestors 'self';img-src 'self' <a>data:;object-src</a>
'none';script-src 'self';script-src-attr 'none';style-src
'self' https: 'unsafe-inline';upgrade-insecure-requests<br>
Sep 01 13:31:48 opensips opensips[59740]: <
Cross-Origin-Opener-Policy: same-origin<br>
Sep 01 13:31:48 opensips opensips[59740]: <
Cross-Origin-Resource-Policy: same-origin<br>
Sep 01 13:31:48 opensips opensips[59740]: <
Origin-Agent-Cluster: ?1<br>
Sep 01 13:31:48 opensips opensips[59740]: <
Referrer-Policy: no-referrer<br>
Sep 01 13:31:48 opensips opensips[59740]: <
Strict-Transport-Security: max-age=15552000; includeSubDomains<br>
Sep 01 13:31:48 opensips opensips[59740]: <
X-Content-Type-Options: nosniff<br>
Sep 01 13:31:48 opensips opensips[59740]: <
X-DNS-Prefetch-Control: off<br>
Sep 01 13:31:48 opensips opensips[59740]: <
X-Download-Options: noopen<br>
Sep 01 13:31:48 opensips opensips[59740]: <
X-Frame-Options: SAMEORIGIN<br>
Sep 01 13:31:48 opensips opensips[59740]: <
X-Permitted-Cross-Domain-Policies: none<br>
Sep 01 13:31:48 opensips opensips[59740]: <
X-XSS-Protection: 0<br>
Sep 01 13:31:48 opensips opensips[59740]: <<br>
Sep 01 13:31:48 opensips opensips[59740]: * Connection #0 to
host 127.0.0.1 left intact</div>
<div><br>
</div>
<div>Thanks<br>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div>