Linux Provisioning Agent - Enable logging to STDOUT

We are running the Linux Provisioning Agent inside a container and it would be useful to have application logs sent to STDOUT instead of the current log files. A runtime flag would be fine.

you can run a script which is located in the installation folder. It start the agent in the foreground

Already took care of that, the foreground process only logs the initial messages, the log file takes over after init… i tried doing some basic hacking of the .jar and nothing trivial worked.

These are the foreground logs:
[ 2020-08-06 14:02:15.490 ] [ main ] [OppAgentRuntime] [ ] [INFO] - Starting Okta Provisioning Agent
Aug 06, 2020 2:02:15 PM org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2812cbfa: startup date [Thu Aug 06 14:02:15 UTC 2020]; root of context hierarchy
Aug 06, 2020 2:02:15 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [spring/opp-agent.xml]
Aug 06, 2020 2:02:15 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [spring/agent.xml]
Aug 06, 2020 2:02:15 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [spring/entities.xml]
[ 2020-08-06 14:02:17.196 ] [ main ] [AgentConfigLoader] [ ] [INFO] - Loading Config from file
[ 2020-08-06 14:02:17.387 ] [ main ] [AgentConfigLoader] [ ] [INFO] - Loading Config successful

I also want these file logs to be sent to stdout like those logs:

[root@860728025d53 logs]# tail -f agent.log
[ 2020-08-06 14:01:51.524 ] [ main ] [OppAgentRuntime] [ ] [INFO] - Okta Provisioning Agent started
[ 2020-08-06 14:01:51.525 ] [ Thread-2 ] [RestClient] [ ] [INFO] - Fetching Next Action from
[ 2020-08-06 14:02:07.588 ] [ Thread-1 ] [OppAgentRuntime] [ ] [INFO] - Stopping Okta Provisioning Agent
[ 2020-08-06 14:02:15.490 ] [ main ] [OppAgentRuntime] [ ] [INFO] - Starting Okta Provisioning Agent
[ 2020-08-06 14:02:17.196 ] [ main ] [AgentConfigLoader] [ ] [INFO] - Loading Config from file
[ 2020-08-06 14:02:17.387 ] [ main ] [AgentConfigLoader] [ ] [INFO] - Loading Config successful
[ 2020-08-06 14:02:17.627 ] [ main ] [OppAgentRuntime] [ ] [INFO] - Okta Provisioning Agent started