ibm bluemix - Can user provided services be shared across multiple apps -


i creating logdrain service in bluemix apps:

`cf cups myapps-logdrain -l <logdrain-endpoint>` 

can bind myapp-logdrain service multiple apps @ time? looked @ cloudfoundry documentation , played logdrain service cf cli. settings don't specify whether or not can shared.

yes. log drain service(user provided service) can shared other service.

you can differentiate logs different applications querying application guid and/or instance number.

you may see logs similar following format:

[date][log-service-name][application guid][app-instance-number][log-message]

apr 21 00:35:44 bluemixlogs 3398064b-8de6-46dd-egf1-0dde35546496/[app/0]: sending logs 3rd party service : log info


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -