logpath = LoggerUtils.getProperties().getProperty("log.path"); System.out.println("logpath: " + logpath);
The above code returns:
logpath: C:UsersMauriceDesktopLogs
In the properties file:
log.path C:\Users\Maurice\Desktop\Logs
How to save file separators? I want this to work with Linux as well, not just Windows.
source share