Skip to content
This repository was archived by the owner on Feb 20, 2021. It is now read-only.
This repository was archived by the owner on Feb 20, 2021. It is now read-only.

Service fails silently when logfile path doesn't exist #389

Open
@eloekset

Description

@eloekset

Similar to #335 when the logfile setting refers to a folder that doesn't exist, the service fails to start, but there's no error in application log telling why it failed to start.

To reproduce
  1. Edit the .conf file to have a logfile setting as follows:
    logfile "../Logs/redis_log.txt"
  2. Make sure there's no Logs folder at the level above the Redis folder.
  3. Start the service, and you'll see this message:
    2016-01-14_1727
  4. To verify that the missing Logs folder is the actual cause, just create that folder and try to start the service again. This time it should start.
Expected behavior

A. Automatically create new folders if the path is valid.
B. Log an error to the application log indicating what's wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions