openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-openwhisk] ysjjovo edited a comment on issue #4409: Log lost in method 'KubernetesRestLogSourceStage.readLines'
Date Tue, 23 Apr 2019 08:23:51 GMT
ysjjovo edited a comment on issue #4409: Log lost in method 'KubernetesRestLogSourceStage.readLines'
URL: https://github.com/apache/incubator-openwhisk/issues/4409#issuecomment-485694092
 
 
   You're right,Fetching K8S HTTP Logs with parameter sinceTime may get additional logs,sample
debug log below show this.
   
   ```
   [2019-04-22T10:02:43.648Z] [DEBUG] *** Fetching K8S HTTP Logs w/ Path: /api/v1/namespaces/***/pods/wskinvoker-00-5-log-lost-test/log
Query: timestamps=true&sinceTime=2019-04-22T09:55:02.893115523Z
   
   [2019-04-22T10:02:43.666Z] [DEBUG] * Read & decoded lines for K8S HTTP: List(2019-04-22T09:55:02.885279349Z
stdout:AAAAA, 2019-04-22T09:55:02.893040214Z stdout: XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX,
2019-04-22T09:55:02.893115523Z stdout: XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX)
   ```
   In this situation,field lastTimeStamp will always be set to 2019-04-22T09:55:02.893115523Z,then
all invocation will get the same log.
   So we should filter it manually,but docker json log field don't produce 9 digit nanosecond
all the time,this will make this filter filt some normal logs for mistake.
   

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


With regards,
Apache Git Services

Mime
View raw message