# MaxDepth

The maximum number of levels to print in the output for a disk report. MongoDB Connector always counts all objects, but for this number of levels, MongoDB Connector also prints details of the components, items, directories, and files.

To print the whole directory tree, set this parameter to `-1`.

Actions: | DiskReport
Type: | Long
Default: | 1
Example: | `MaxDepth=3`
See Also: |

_FT_HTML5_bannerTitle.htm