How to save logs into a file

Currently, the Contentful App is writing the logs into “stdout”. Could we change it somehow and write the logs into some file, for example that we need?