https://pulumi.com logo
#general
Title
# general
f

faint-vegetable-61837

02/26/2019, 2:43 PM
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

gentle-diamond-70147

02/26/2019, 3:19 PM
try
-v 4
? I think
4
is when Pulumi starts to get chatty.
f

faint-vegetable-61837

02/26/2019, 3:32 PM
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

white-balloon-205

02/26/2019, 7:53 PM
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

faint-vegetable-61837

02/26/2019, 8:07 PM
Thanks for clarifying this for me.
2 Views