This message was deleted.
# general
s
This message was deleted.
q
Hmm, I don't know how it works on the TS end.. but for Python, if I do a plain print statement, it gets collected into a "diagnostics" section in the output, both for preview and actually running the update:
a
Same for me if I do
console.log
or
<http://pulumi.log.info|pulumi.log.info>()
. However, I've hidden the truly "debug" logging behind
pulumi.log.debug()
and now I can't turn it on at all without doing a search-replace to make all the
debug
logs into
info
ones :)
g
@average-receptionist-65239 Did you tired
pulumi logs
command?
a
I hadn't tried it but I just did and there's no output. I'm on 2.4.0 where the logs command is a PREVIEW. However, it's not clear to me what
pulumi logs
is supposed to do. The help says "Show aggregated logs for a stack". From the options, it looks like it's more likely logs from the running infrastructure than the
pulumi.log.debug
from a run of preview/update.