mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 14:16:42 +02:00
Use data.logentries.com and port 443 instead of api
This commit is contained in:
@@ -37,7 +37,7 @@ class LogEntriesHandler extends SocketHandler
|
|||||||
throw new MissingExtensionException('The OpenSSL PHP plugin is required to use SSL encrypted connection for LogEntriesHandler');
|
throw new MissingExtensionException('The OpenSSL PHP plugin is required to use SSL encrypted connection for LogEntriesHandler');
|
||||||
}
|
}
|
||||||
|
|
||||||
$endpoint = $useSSL ? 'ssl://api.logentries.com:20000' : 'data.logentries.com:80';
|
$endpoint = $useSSL ? 'ssl://data.logentries.com:443' : 'data.logentries.com:80';
|
||||||
parent::__construct($endpoint, $level, $bubble);
|
parent::__construct($endpoint, $level, $bubble);
|
||||||
$this->logToken = $token;
|
$this->logToken = $token;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user