Skip to content

Commit

Permalink
Max size
Browse files Browse the repository at this point in the history
  • Loading branch information
terwey committed Jan 4, 2017
1 parent 8e01df3 commit f4254b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Handler/GelfHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function write($level, $message, array $splitFullMessage, array $context
if (is_array($contextMessage)) {
$contextMessage = print_r($contextMessage, true);
}
$gelfMessage->setAdditional($contextKey, $contextMessage);
$gelfMessage->setAdditional($contextKey, substr($contextMessage, 0, 31766));
}
}

Expand Down

0 comments on commit f4254b2

Please sign in to comment.