This message was deleted.
# general
b
This message was deleted.
b
Hello! Can you post here an example of such logs?
Hm, this is the latest demo PR with the comment, we should only show the details https://github.com/infracost/gh-actions-demo/pull/69#issuecomment-1072324260
These logs should not be part of the comment body ๐Ÿค”
m
the latest demo PR you posted above I believe itโ€™s using github action, not atlantis workflow
c
Try setting
--log-level fatal
b
Ah, I see what you mean: the Atlantis' comment has these log lines, not the Infracost's comment. By default the log level is set to "info", Tim's suggestion should reduce the log lines
m
ok but that just setting the logs level to fatal right? there is no way we can get rid of the logs entirely?
b
--log-level=
should disable logging entirely
m
I can test it out and get back to you! Thanks @busy-agent-35515 @crooked-daybreak-55253
๐Ÿ™Œ 1
c
Do you mean you want to supress all the output? In bash you can do that by redirecting stdout stderr to
/dev/null
. Itโ€™s a little esoteric but in bash you can do that by appending `> /dev/null 2>&1`` to a command. So for example
infracost breakdown โ€ฆ > /dev/null 2>&1
๐Ÿ’ก 1
b
And same for the
infracost comment
command, yep ๐Ÿ‘
m
let me give it try see how it goes
w
@most-kite-40162 any luck? We can tweak the examples/docs with whatever worked nicely for you, or create an issue to track more substantial changes that might be needed.
m
yeah, currently trying to setup self-host cloud pricing API see how that works
๐Ÿ™Œ 1