This message was deleted.
s
This message was deleted.
g
https://www.pulumi.com/docs/reference/cli/pulumi_up/ The
--debug
flag is what you're looking for, I think.
a
That showed me some different debug output, but it still didn’t output my logs…
I’m still looking for an answer to this. It seems like a really simple one - surely someone has used
<http://pulumi.info|pulumi.info>
or
pulumi.debug
for logging?
l
<http://pulumi.log.info|pulumi.log.info>
outputs to the console during a preview or up. They're formatted nicely but they're not suitable for use as trace or error logs.
For example, if you use them inside a resource constructor, they appear to the right of the resource during preview and up.
But they're not error logs that you can capture using
pulumi up 2> errors.log
.