mongocli atlascommands 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 atlascommands until April 30, 2023.
Download host logs for your project.
help for logs
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.
mongocli atlas logs download - Download a compressed file that contains the MongoDB logs for the specified host.