Hi guys,
I am trying to provide a log-file for metabase as pointed out on:
However, it seems that the provided parameters are ignored:
No logfile shows up at the provided path.
I am starting metabase as a SystemD service:
[Unit]
Description=Metabase
Documentation=https://www.metabase.com/docs/latest[Service]
WorkingDirectory=/home/metabase
EnvironmentFile=/home/metabase/metabase.env
ExecStart=/usr/lib/jvm/jdk1.8.0_131/bin/java -Dlog4j.configurationFile=file:/home/metabase/log4j2.xml -Dlogfile.path=/home/metabase -Xms256m -Xmx1024m -jar metabase.jar
User=metabase
Type=simple
Restart=on-failure
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=metabase
SuccessExitStatus=143
TimeoutStopSec=120[Install]
WantedBy=multi-user.target
The log4j2.xml file looks like this:
<?xml version="1.0" encoding="UTF-8"?><Root level="WARN"> <AppenderRef ref="FILE"/> </Root>
I cannot see, what would be the problem here. Any ideas anybody maybe?
Thx and kind regards,
Tom