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
Description
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
- Edit the .conf file to have a logfile setting as follows:
logfile "../Logs/redis_log.txt" - Make sure there's no Logs folder at the level above the Redis folder.
- Start the service, and you'll see this message:
- 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.