Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

Do not save Redis logs to file, output to stdout #60

Open
@adalinesimonian

Description

Saving the logs to a file completely sidesteps Docker's logging functionality and renders it useless. i.e., running docker logs [redis_container_id] with the current image will return no output.

In order to allow Docker's log-capturing to work with the image, we need to output to stdout/stderr. Replacing logfile [logpath] in redis.conf with logfile "" fixes this problem. However, since this is a change in functionality, I'm opening an issue first to make sure we're all OK with this change.

Activity

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

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