Postee logs to stdout: Whether is it configurable to 'NOT' log entire scan reports into stdout
Hello,
- I am looking for an answer if Postee log is configurable to not log the entire scan reports of the images.
- I am using Amazon SES to send out the scan report to the recipients. Having the entire scan reports in the log again is causing issues with our logging mechanism that writes pod logs to Splunk.
- the version of Postee i am using is Postee v2.2.0
- Is there a way to turn of the logging of the reports?
Hello @linthoisana Postee currently hasn't option to disable logs.
Do you want to disable all logs? We can add this, but in this case you will not see info and error messages.
Regards, Dmitriy
Thank you @DmitriyLewen for your reply. I would like to turn off only the scan reports which i am receiving in the log again.
if disabling log is not possible, is it possible to use log levels and log the reports only when log level is for example DEBUG or TRACE but not when INFO ?
Best regards, Lin
Unfortunately Postee currently uses default golang logger. It doesn't support log level selection.
I think adding log levels in Postee is good idea. @simar7 what do you think?
@DmitriyLewen : your reply helps me a lot.
I would like to know if log levels will be added to Postee in the future. I will like to stay in this loop. This update can be very beneficial to my team and the project. :)
hi today we don't support log level selection in Postee as it uses the default golang logger. We also don't have any plans to add support for it in the near future. But we welcome any contributions if you would like to make any.