You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a value that contains content such as binary is provided as the output for a log, these are no longer visible in stdout.
Additionally, after that log, all other logs are affected, with no further output to stdout. This was used in a Middleware processing requests, and not even on subsequent requests were logs visible.
This was using version 1.1.5 of the framework, and version 1.1.8 of the SDK, with system info below:
Linux work 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
Here is the output for a test I just did with the 1.1.10 version of the SDK, with no relevant changes about logging since the 1.1.8. For this I generated a random binary file like this:
dd if=/dev/urandom of=binary bs=1 count=1024
Then I added a log in the startup of an action:
$service->startup(function(Service$service) {
$service->log("Setting things up");
$service->log(file_get_contents(__DIR__ . '/binary'));
After launching the SDK alone I get this:
While using the framework I get this:
Note there is no startup logs from the SDK, but there are logs for the shutdown. I suppose the framework can't handle the binary and skips the whole log stack from the SDK. In this case the startup logs.
When a value that contains content such as binary is provided as the output for a log, these are no longer visible in
stdout
.Additionally, after that log, all other logs are affected, with no further output to
stdout
. This was used in a Middleware processing requests, and not even on subsequent requests were logs visible.This was using version 1.1.5 of the framework, and version 1.1.8 of the SDK, with system info below:
The text was updated successfully, but these errors were encountered: