Hello,
Using latest version of Flashphoner, I was not able to get the app to log to stdout.
I am using the latest public docker image.
When I start the app with a docker run, I get all the output from the script run-wcs.sh (startup logs, license activation, etc.) but nothing else.
Logs are correctly written inside the container, for example in logs/server_logs.
I know I can mount volumes to"export" the logs outside of the container, but I am not interested. I would like the app to just write all the logs to stdout, for them to be catched by systemd/journalctl.
The default log4j configuration contains a log4j.ConsoleAppender but it doesn't seem to work by default.
I can use the mode standalone when starting the server, and I get logs in stdout, but there is A LOT of logs, and in standalone mode, log4j configuration doesn't seem to be used to filter unnecessary
What is the recommended way to get WARN/ERROR logs sent to stdout in production using latest docker image?
Thanks a lot for your help.
Using latest version of Flashphoner, I was not able to get the app to log to stdout.
I am using the latest public docker image.
When I start the app with a docker run, I get all the output from the script run-wcs.sh (startup logs, license activation, etc.) but nothing else.
Logs are correctly written inside the container, for example in logs/server_logs.
I know I can mount volumes to"export" the logs outside of the container, but I am not interested. I would like the app to just write all the logs to stdout, for them to be catched by systemd/journalctl.
The default log4j configuration contains a log4j.ConsoleAppender but it doesn't seem to work by default.
I can use the mode standalone when starting the server, and I get logs in stdout, but there is A LOT of logs, and in standalone mode, log4j configuration doesn't seem to be used to filter unnecessary
What is the recommended way to get WARN/ERROR logs sent to stdout in production using latest docker image?
Thanks a lot for your help.
Last edited: