dubee opened a new issue #291: Activation log --strip command malforms output
URL: https://github.com/apache/incubator-openwhisk-cli/issues/291
 
 
   When displaying activation logs with the `--strip` flag, the first 39 
characters of a log line are removed to exclude the log timestamp and pipe. 
Removing the first 39 characters is not ideal as log timestamp length can 
differ resulting in malformed output.
   
   Example of `wsk activation logs` with timestamp length less than 39 
characters.
   ```
   $ wsk activation logs 40a2571069c94bc8a2571069c9bbc80f
   2018-05-02T19:33:32.829992819Z stdout: this is stdout
   2018-05-02T19:33:32.83017613Z stderr: this is stderr
   ```
   
   Example of malformed output using the `--strip` flag.
   ```
   $ wsk activation logs 40a2571069c94bc8a2571069c9bbc80f --strip
   this is stdout
   his is stderr
   ```
   
   Line to be updated:
   
https://github.com/apache/incubator-openwhisk-cli/blob/1c241dcb2b9ea2afe9dcece690d8e305634e034e/commands/util.go#L286

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to