debugging - Bluemix app - list whole activity log (events) -


i debugging happened our app on bluemix , list entries activity log viewlet (since "beginning of time" if possible) because of full of error message , no 1 can read happened before. error message.

an instance of app crashed: failed accept connections within health check timeout

i have tried cf events app_name, seems result list same.

please, how can longer list of previous app events?

thank you.

you can retrieve information using cf api rest call. can find cf apis documentation here:

in specific case curl call in order retrieve latest 100 events:

curl "https://api.ng.bluemix.net/v2/events?results-per-page=100" -x -h "authorization: bearer eyj0exaioijkv1qilcjhbgcioijiuzi1nij9.eyj1c2vyx2lkijoidwfhlwlkltc5iiwizw1hawwioijlbwfpbc01mebzb21lzg9tywlulmnvbsisinnjb3blijpbimnsb3vkx2nvbnryb2xszxiuywrtaw4ixswiyxvkijpbimnsb3vkx2nvbnryb2xszxiixswizxhwijoxndiyotkwody3fq.rlrrvscnc7eoihwhgtliwqfp4rf7xrinu9uedb1ikai"

you can retrieve authorization header with:

cf oauth-token 

after login ibm bluemix (cf login)

you can retrive events in specific date using timestamp parameter.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -