Skip to content

Launcher should not touch server.log #24065

@dmatej

Description

@dmatej

The first log record in server.log is not printed by the server, but by it's launcher. That means ...

  • the launcher prints the log even if the server startup failed. The cause is not printed anywhere.

    • it would be better if it would print this log record and the cause to the stderr instead.
    • the log leads to a confusion aka "server logged something into the server.log, so i started ... and then crashed" while it did not start at all.
  • the launcher uses it's own configuration and ignores server's logging.properties

    • it should have own configuration and own file OR stderr+stdout
    • first log record can have different log format than what is configured for the server.log
  • refactoring required, there is quite a lot of copy&paste, dead code, etc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions