1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Silenced cURL...no more polluted stderr file.

This commit is contained in:
Jon Ziebell 2020-01-13 23:51:54 -05:00
parent fea2fcd91a
commit 1288713ad0

View File

@ -55,6 +55,8 @@ class logger extends cora\api {
'curl ' .
'-u ' . $this->setting->get('influx_database_username') . ':' . $this->setting->get('influx_database_password') . ' ' .
'-POST "' . $url . '" ' .
'--silent ' . // silent; keeps logs out of stderr
'--show-error ' . // override silent on failure
'--max-time 10 ' .
'--connect-timeout 5 ' .
'--data-binary \'' . $data_binary . '\' > /dev/null &'