https://pulumi.com logo
#python
Title
# python
s

sparse-tomato-5980

06/08/2021, 8:51 PM
Hey folks - is there a way to quiet things that are logged with
pulumi.log.warn()
?
f

faint-whale-59078

06/10/2021, 12:42 AM
Hey Max. Do you mind to give an example please? Or maybe share some code so I can understand. 😀
s

sparse-tomato-5980

06/14/2021, 9:14 PM
Sure. We use: • docker buildx, an experimental build tool that doesn't really support a
--quiet
• pulumi-docker pulumi-docker automatically `pulumi.log.warn`s all Docker output - unfortunately, that's a ton of text that shows up during a
pulumi up
. It'd be nice to have some way to configure "oh, don't print any warns from the module
pulumi_docker.docker.build
", or something like that. I ended up monkeypatching my own 🤷 https://github.com/grapl-security/grapl/pull/914/files#diff-b65f2863650d5a04fe3e2adfd994e065e30966d05d6ea471793654fc9fce2946
7 Views