This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

How to configure file based logging in stackstorm docker setup

Hi, i need to setup all the stdout logs into a log file in my host machine. i’ve proceeded with the official documentation which is Nginx and WSGI — StackStorm 3.3.0 documentation and added

[handler_fileHandler]
class=st2common.log.FormatNamedFileHandler
level=INFO
formatter=verboseConsoleFormatter
args=(’/var/log/st2/st2actionrunner.{pid}.log’,)

But this also not working

It’s within Docker best practices to make the containers immutable and output logs to stream which will be then available via docker logs or kubectl logs.

If you need logs as files, I’d recommend to install StackStorm in a Virtual Machine instead.