Skip to content

Commit 25baee8

Browse files
cypharcorhere
authored andcommitted
docs: add documentation for dm.libdm_log_level
This is a new option added specifically to allow for debugging of bugs in Docker's storage drivers or libdm itself. Signed-off-by: Aleksa Sarai <[email protected]>
1 parent 7d3f09a commit 25baee8

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

man/dockerd.8.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,31 @@ Example use:
703703

704704
$ sudo dockerd --storage-opt dm.xfs_nospace_max_retries=0
705705

706+
##### dm.libdm_log_level
707+
708+
Specifies the maxmimum libdm log level that will be forwarded to the dockerd
709+
log (as specified by --log-level). This option is primarily intended for
710+
debugging problems involving libdm. Using values other than the defaults may
711+
cause false-positive warnings to be logged.
712+
713+
Values specified must fall within the range of valid libdm log levels. At the
714+
time of writing, the following is the list of libdm log levels as well as their
715+
corresponding levels when output by dockerd.
716+
717+
| libdm Level | Value | --log-level |
718+
| ----------- | -----:| ----------- |
719+
| _LOG_FATAL | 2 | error |
720+
| _LOG_ERR | 3 | error |
721+
| _LOG_WARN | 4 | warn |
722+
| _LOG_NOTICE | 5 | info |
723+
| _LOG_INFO | 6 | info |
724+
| _LOG_DEBUG | 7 | debug |
725+
726+
Example use:
727+
728+
$ sudo dockerd \
729+
--log-level debug \
730+
--storage-opt dm.libdm_log_level=7
706731

707732
## ZFS options
708733

0 commit comments

Comments
 (0)