CodingJungle Posted May 27, 2019 Share Posted May 27, 2019 there is quite an annoying debug log that fills up my log all the time: if ( \defined('\IPS\DEBUG_LOG') and \IPS\DEBUG_LOG ) { \IPS\Log::debug( "\n\n------------------------------------\ncURL REQUEST: {$this->url}\n------------------------------------\n\n" . var_export( $this->dataForLog, TRUE ) . "\n\n------------------------------------\nRESPONSE\n------------------------------------\n\n" . $output, 'request' ); } and if i have disabled curl: if ( \defined( '\IPS\DEBUG_LOG' ) and \IPS\DEBUG_LOG ) { \IPS\Log::debug( "\n\n------------------------------------\nSOCKETS REQUEST: {$this->url}\n------------------------------------\n\n{$request}\n\n------------------------------------\nRESPONSE\n------------------------------------\n\n" . $response, 'request' ); } they fill up the log when DEBUG_LOG is enabled, often times my own debug messages get buried and it is a chore to sort thru them (cause depending on what i'm working with) there can be several of these messages that appear in the log. so it would be nice if there is also like DEBUG_HTTP_REQUEST that needs to be enabled to log them? Link to comment Share on other sites More sharing options...
HeadStand Posted May 27, 2019 Share Posted May 27, 2019 So much this. This is by far the most annoying log message in existence. And 99% of the time, utterly useless. Link to comment Share on other sites More sharing options...
bfarber Posted May 28, 2019 Share Posted May 28, 2019 Ok I'll raise your request internally - but also point out using the "advanced search" icon on the system logs allows you to filter by "categories" (so you can select everything except these request logs, if you're having trouble finding your own custom logs). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.