Skip to content

Document that logging.file.name and logging.file.path cannot be used together #41351

@naris

Description

@naris

The spring boot documentation on logging file output does not adequately explain that if you set both logging.file.name and logging.file.path that the path will be completely ignored and only the value in logging.file.name will be used.

Therefore, either the documentation should be updated to make this clear as while documentation includes a matrix as to what the path will be if you set either name or path it does not explicitly have a case where both values set, apparently expecting the reader to get that it kinda implies that setting both values would ignore the path?

Of course, the better, more intuitive solution would be to use both the file and path values, if they are both set, to produce the log file path/name as one would expect to be the case as there are separate file and path settings :/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions