Set log file to write all logs into STDOUT?

I’m currently running the GVM inside a docker container, and I’m trying to avoid from writing log files inside the container.

I have tried to configure the openvas_log.conf, gvmd_log.conf and gsad_log.conf ini files by changing the “file” key to point “/dev/stdout” instead of “/var/log/<gmv|openvas>/.log”

But, I’m getting the following error:
Can not open ‘/dev/stdout’ logfile: Permission denied2021-07-18 11:58:48,444 INFO exited: gsad (terminated by SIGABRT; not expected)

Maybe the process will try to lock the file or something else which might be the cause for this error.

Any way to write logs into STDOUT instead of a file?
note: it’s not possible to use syslog inside the container either.

GVM versions

gsad: (‘gsad --version’): Greenbone Security Assistant 20.08.
gvmd: (‘gvmd --version’): Greenbone Vulnerability Manager 20.08.1
openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’): OpenVAS 20.8.0
gvm-libs: gvm-libs 20.8.1


Operating system: : Ubuntu 20.04

logging config file explanation here: