Closed ianic closed 2 years ago
Dodao sam lokaciju logova u help poruku:
mantil report --help
Make a bug report
Mantil logs are located at /Users/ianic/Library/Application Support/Mantil/logs.
This command sends us those log files so we can analyze them and help you with
the issue you're having.
By default last 3 days of logs are included, you can change that with --days option.
USAGE
mantil report [options]
OPTIONS
-d, --days int Days of logs to include in report (default 3)
GLOBAL OPTIONS
--help Show command help
--no-color Don't use colors in output
LEARN MORE
Visit https://team.mantil.com/docs/ to learn more.
For further support contact us at support@mantil.com.
Nisam bas 100% siguran da bi ostavio komandu tako da mora uvijek biti interaktivna. Da mora pisati poruku. Al ovo je vec jako puno.
For sending Mantil logs to the team. It creates zip file for the last 3 days of logs and uploads them to our s3 bucket. In the backend we have api built with Mantil for creating presigned s3 upload url.
Command has option for setting number of days. How many log files from the past we upload. After upload it calls api again that method sends notification to our Slack that we have new bug report.
Reference: https://aws.amazon.com/blogs/compute/uploading-to-amazon-s3-directly-from-a-web-or-mobile-application/ JS template code: https://github.com/aws-samples/amazon-s3-presigned-urls-aws-sam