Set default "log_driver" option to None in docker module.

pull/18777/head
Ryan Walls 10 years ago committed by Matt Clay
parent 0df1b01cb2
commit f5c1d8141b

@ -102,6 +102,7 @@ options:
"none" disables any logging for the container. docker logs won't be available with this driver. "none" disables any logging for the container. docker logs won't be available with this driver.
"syslog" Syslog logging driver for Docker. Writes log messages to syslog. "syslog" Syslog logging driver for Docker. Writes log messages to syslog.
docker logs command is not available for this logging driver. docker logs command is not available for this logging driver.
If not defined explicitly, the Docker daemon's default ("json-file") will apply.
Requires docker >= 1.6.0. Requires docker >= 1.6.0.
required: false required: false
default: json-file default: json-file
@ -1531,7 +1532,7 @@ def main():
net = dict(default=None), net = dict(default=None),
pid = dict(default=None), pid = dict(default=None),
insecure_registry = dict(default=False, type='bool'), insecure_registry = dict(default=False, type='bool'),
log_driver = dict(default='json-file', choices=['json-file', 'none', 'syslog']), log_driver = dict(default=None, choices=['json-file', 'none', 'syslog']),
), ),
required_together = ( required_together = (
['tls_client_cert', 'tls_client_key'], ['tls_client_cert', 'tls_client_key'],

Loading…
Cancel
Save