Question

How to properly use LOG_DESTINATIONS env var for functions?

As soon I set the LOG_DESTINATIONS as per the doc here, my function stop working.

I’m getting the following error:

stderr: Command exited abruptly during initialization. stderr: The action did not initialize or run as expected. Log data might be missing.

I’m using Logtail with an HTTP source.

I’ve tried to set the LOG_DESTINATIONS environment variable through my project.yml and through the web interface. Same result.

And if I remove that environment variable, the function start to work again.

Any idea?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer