Docs Home → MongoDB Command Line Interface
mongocli atlas logs
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.Download host logs for your project.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for logs |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file. |
Related Commands
mongocli atlas logs download - Download a compressed file that contains the MongoDB logs for the specified host.