Windows service is not using the right path to log4j2.xml

Description

The service launcher on windows appears to get the path to log4j2.xml wrong

ERROR StatusLogger Unable to access file:/C:/Openfire/bin/lib/log4j2.xml
java.io.FileNotFoundException: C:\Openfire\bin\lib\log4j2.xml (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method)

 

The install4j configuration has:

{{-Dlog4j.configurationFile="${launcher:sys.launcherDirectory}/lib/log4j2.xml" }}

 

Environment

None
Fixed

Assignee

Daryl Herzmann

Reporter

wroot

Labels

None

Expected Effort

None

Components

Fix versions

Affects versions

Priority

Major
Configure