Skip to content

init.d - Property 'logFolder' Does Not Work With Relative Paths #7093

@hackingpath

Description

@hackingpath

When I use the following gradle setting in the spring boot plugIn the log file is written to the /tmp directory instead of the app home directory.

springBoot {
    executable = true
    embeddedLaunchScriptProperties = [ logFolder: './']
}

I use logback for logging and all logs except those for the console are written to the /log folder in the app directory where the jar resides. I would like to have the console log also in that folder which is currently not possible.

SYSTEM
Linux Mint 17.3 64-bit
Kernel Linux 4.4.0-15-generic x86_64
MATE 1.12.0

Sprint Boot 1.4.1.RELEASE
Gradle 2.12

NOTE:
I experience the same problem with the conf file and property LOG_FOLDER.
I also see this problem on my other machine with Ubuntu 14.04.1 LTS.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions