Is there any way to get the log messages of the st...
# general
f
Is there any way to get the log messages of the stack?
pulumi logs
does not print anything, no matter which flags I pass to pulumi (-v 3, etc)
pulumi up -v 3 --logtostderr
g
try
-v 4
? I think
4
is when Pulumi starts to get chatty.
f
I guess my question was more on the purpose of
pulumi logs
- do I always need to specify
--logtostderr
to see log output? Where does it go otherwise?
w
pulumi logs
is for getting runtime logs associated with the resources in your stack. It is currently only hooked up for a handful of AWS resources (LogGroups, Lambdas, etc.). In the future it will be extended to additional Azure, GCP, Kubernetes, etc resources that are capable of reporting their logs. This is quite seperate from deployment logs.
Is there any way to get the log messages of the stack?
What specifically did you have in mind here?
I see the CLI docs for
pulumi logs
are not particularly helpful here - we'll improve that.
f
Thanks for clarifying this for me.