1

I'm trying to map a Function Bean to an Azure function using Spring Cloud Function 2.0. How is logging supposed to be done?

Do I need to use the Azure context logger or a generic logger like slf4j?

There seems no way to get hold of the Azure context logger, once in the Function Bean.

However, when using slf4j the logging seems to work only locally, but when deploying to Azure and running from Azure portal - the logging doesn't appear in the Azure console.

Hagai Cibulski
  • 4,421
  • 3
  • 20
  • 23
  • 1
    I say this is probably a missing feature, so please consider raising an issue in [spring-cloud-function issue tracker](https://github.com/spring-cloud/spring-cloud-function/issues) – Oleg Zhurakousky Feb 25 '19 at 07:16
  • 1
    Just and FYI, the [feature was added](https://github.com/spring-cloud/spring-cloud-function/issues/265) – Oleg Zhurakousky Mar 01 '19 at 16:12

0 Answers0