config file - relative path for log file does not work #1532

Open
snazy opened this Issue Jan 31, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@snazy

snazy commented Jan 31, 2014

Hi,

I did not succeed to specify a relative path for the logfile parameter. Redis creates the log file but the file remains empty. Redis complains, if the file could not be created (e.g. non existing parent directory or wrong permissions).

If I specify an absolute path name logging works.

But: specifying the PID file using a relative path works.

And please clarify that the PID file needs to be specified relatively to the redis-server binary. But the log file needs to be specified relative to the directory declared by the directory parameter.

@snazy

This comment has been minimized.

Show comment
Hide comment
@snazy

snazy Jan 31, 2014

... and that the directory parameter is relative to CWD

snazy commented Jan 31, 2014

... and that the directory parameter is relative to CWD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment