Some time ago a resource assisted us with setting up Conjur and instructed us during setup to populate a daemon.json for Docker that contained only the following content:
Now that our instance of Conjur is seeing regular use, log files are beginning to pose a problem with regards to memory/space usage. We wanted to address the issue by using “log-opts” to limit file number and size.
However, when we attempt to do this (either within the daemon.json or on the container we’re running), we get the following error:
docker: Error response from daemon: unknown log opt ‘max-size’/‘max-file’/etc for journald log driver.
This implies journald doesn’t support log-opt; thus we may need to switch to a different kind of log driver, specifically json-file.
Is there any reason why Journald was recommended to us? If we were to use something else, would it be disruptive to Conjur’s functionality? Would json-file still work?