Syslog on different UDP port

The default syslog logging is to localhost UDP 514.
Is there option to send syslog to different port in configuration file?
This is for workaround on docker container running as non-root user.

I don’t think this is configurable for mongod.

Assuming you’re running the image from docker hub in docker you can set a different log driver and have docker take care of the stslog.

Thanks for the reply. Unfortunately, we are running in k8s env without any elevated permission, so the logging options that require log collector ruining as DaemonSet will not be possible.