Is there a way to silence logs for particular lamb...
# help
p
Is there a way to silence logs for particular lambda while in live lambda development mode?
f
Hey @Pavan Kumar, by “silence logs”, is it you don’t want to live debug that particular lambda in
sst start
? Or is it you still want to live debug it, but not print anything to the terminal?
It’d be helpful if you can share a bit about ur use case.
p
@Frank I still want live debug, but don't want to print anything in terminal. I have a lambda which listen to Topic. This SNS Topic is not part of our project. This topic gets lot of events. So we end up getting lots of logs from this particular lambda pollution our terminal. So we want to silence output from this lambda. May be as follows
sst start -silence Lambda1
f
I see. Are you working on the function that’s listening to the Topic? If not, I think it might be better to disable live dev for it - https://docs.serverless-stack.com/constructs/Function#enablelivedev
The function still works, just that it will be run on AWS Lambda, instead of locally.
p
Disabling live dev should work as I am not working on that Lambda. Thanks 👍