Can't get logs to work


I have deployed my functions to AWS Lambda, and I can see logs in CloudWatch.
However, I cannot get the ‘serverless logs’ function to display my logs:

Once I deploy I see:
TestPublic: auth-prod-TestPublic

Then I type in:

$ sls logs -s dev -f auth-prod-TestPublic

Serverless Error ---------------------------------------

Function “auth-prod-TestPublic” doesn’t exist in this Service

Get Support --------------------------------------------
Docs: docs…
Bugs: github…

Your Environment Information -----------------------------
OS: linux
Node Version: 10.7.0
Serverless Version: 1.29.0

What am I doing wrong?

The -f parameter should be the name of the function inside your serverless.yml so it’s most likely sls logs -s dev -f TestPublic

that did the trick - thanks!