# Syntax for Configuring Logging Options

**URL:** <https://forums.suse.com/t/syntax-for-configuring-logging-options/7447>\
**Category:** RancherOS\
**Created:** [September 27, 2017, 10:52pm UTC](https://forums.suse.com/t/syntax-for-configuring-logging-options/7447 "2017-09-27T22:52:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weekenatbernies](https://avatars.discourse-cdn.com/v4/letter/w/c4cdca/32.png) [@weekenatbernies](https://forums.suse.com/u/weekenatbernies)\
**Post date:** [September 27, 2017, 10:52pm UTC](https://forums.suse.com/t/syntax-for-configuring-logging-options/7447/1 "2017-09-27T22:52:40Z")

</div>

Trying to figure out the right syntax to use to configure logging options to set max-file and max-size:

Have tried variations on sudo ros config set rancher.docker.log\_opts “[‘max-file=2’,‘max-size=10m’]” but can’t seem to find a working syntax. Any help appreciated.

---

<div class="post-metadata">

**Author:** ![pberger](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/pberger/32/3865_2.png) [@pberger](https://forums.suse.com/u/pberger)\
**Post date:** [February 12, 2020, 9:51pm UTC](https://forums.suse.com/t/syntax-for-configuring-logging-options/7447/2 "2020-02-12T21:51:18Z")

</div>

Were you able to find the correct syntax?
