mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-02 03:10:15 +02:00
Make sure this works on any hostname
This commit is contained in:
@@ -226,7 +226,7 @@ class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testFormatWithUnlimitedLength()
|
public function testFormatWithUnlimitedLength()
|
||||||
{
|
{
|
||||||
$formatter = new GelfMessageFormatter(null, null, 'ctxt_', PHP_INT_MAX);
|
$formatter = new GelfMessageFormatter('LONG_SYSTEM_NAME', null, 'ctxt_', PHP_INT_MAX);
|
||||||
$record = array(
|
$record = array(
|
||||||
'level' => Logger::ERROR,
|
'level' => Logger::ERROR,
|
||||||
'level_name' => 'ERROR',
|
'level_name' => 'ERROR',
|
||||||
|
Reference in New Issue
Block a user