Is there a way to log multiple functions simultaneously?

Hi Serverless folks !

Is there a way to log multiple functions simultaneously ?
so instead of doing :

sls log -f function1 -t

it would be :

sls log --all -t
#or
sls log -f function1,function2,function3 -t

looking at the docs it doesn’t seem to be possible. Does anybody know of a plugin that does that ? or any reason why it would be a bad idea to try to do it ?

The use case is : while developing and testing I’d like to see what is happening across many lambdas (sometimes one lambda invokes another one for example)

Thanks !

I haven’t tried to do it this way. Usually I just open up two terminal windows side by side and have each log a different function.

1 Like