Handle Timeout Connection issue

I am using graylog 3.0 to log all requests and response between my website and other integrated services before return the response:
function x(){

logData($request,$response)–> logData will create GELF object TCP connection to log data
return $response–>return response from integrated service

i am using GELF PHP library(TCP connection to log),but i want to make sure that if log failed for some reasons(connection time out,desk space…etc), the application will continue after waiting specific period of time( 5 seconds for example), and not crash the application
is there any related graylog configuration that can handle similar cases(connection timeout problem,desk space …)?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.