Skip to content
Snippets Groups Projects
Commit 716559e4 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

fixed: log file was not written

parent 6fb0e269
Branches
Tags
No related merge requests found
......@@ -147,7 +147,7 @@ public class Main extends SpringBootServletInitializer implements ApplicationRun
Path applicationSupportFolder = prepare(args);
Path logPath = applicationSupportFolder.resolve("error.log");
String loggingArgument = "--logging.file=" + logPath.toString();
String loggingArgument = "--logging.file.name=" + logPath;
List<String> arguments = new ArrayList<>(ProgramArgs.getArgs());
if(!arguments.contains(loggingArgument))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment