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:
parent
fea2fcd91a
commit
1288713ad0
@ -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 &'
|
||||
|
Loading…
x
Reference in New Issue
Block a user