Join Slack
Powered by
Does SST `Function` intercept console.log statemen...
# sst
m
Matt Morgan
03/20/2022, 10:45 PM
Does SST
Function
intercept console.log statements and prevent them from going to CloudWatch?
t
thdxr
03/21/2022, 12:37 AM
under sst start the console log statements happen locally so they wouldn't go to cw, other than that it should behave normally
m
Matt Morgan
03/21/2022, 12:49 AM
Was trying to do something with cw subscriptions. I guess I don't want to use the local execution for that. Thanks
f
Frank
03/21/2022, 5:32 AM
Hmm.. we could technically send the console.log content back to the Lambda and have it printed out to CW.
Frank
03/21/2022, 5:33 AM
Open an issue to track this
https://github.com/serverless-stack/serverless-stack/issues/1557
Frank
03/21/2022, 5:34 AM
@Matt Morgan
is this a blocker for you?
m
Matt Morgan
03/21/2022, 11:00 AM
Just a little side project anyway, thanks for asking.
5
Views
Open in Slack
Previous
Next