1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 06:06:40 +02:00

Use data.logentries.com and port 443 instead of api

This commit is contained in:
Stephen Hynes
2015-03-02 14:54:25 +00:00
parent 1b34cd4d88
commit 7483b1ee2e

View File

@@ -37,7 +37,7 @@ class LogEntriesHandler extends SocketHandler
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);
$this->logToken = $token;
}