https://serverless-stack.com/ logo
#sst
Title
# 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.
@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