Skip to content

Commit 5d206bd

Browse files
committed
fix: add logging properties to fix LOG-FILE-UNDEFINED
1 parent affc5d1 commit 5d206bd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lua/spring_boot/launch.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ M.bootls_cmd = function(config)
4949
"-XX:+UseZGC",
5050
"-Dsts.lsp.client=vscode",
5151
"-Dsts.log.file=" .. M.logfile(config),
52+
-- Fix appearance of LOG-FILE-UNDEFINED files
53+
-- https://github.com/spring-projects/spring-tools/commit/522acf1fa7fc074cbd24ffece25f3368ba5ebe4d
54+
"-Dspring.profiles.active=file-logging",
55+
"-Dlogging.file.name=" .. M.logfile(config),
5256
"-jar",
5357
config.ls_path,
5458
}

0 commit comments

Comments
 (0)