Serverless Function Logs

jjimeno
Participant | Gold Partner

Hi,

 

I just noticed when I try to view the logs through hs logs <endpoint>, it does not output the latest logs anymore and did not print the 15 days' worth of logs. I don't see any error either, so I'm not sure if I exceeded the limit of 4kb. What could be the issue? 

I also tried these scripts:

hs logs <endpoint> -file
hs logs <endpoint> --limit=3

Both returned [ERROR] Unknown argument: file

 

Am I missing something?


Thank you!

 

0 Upvotes
2 Replies 2
dennisedson
Community Manager

Hey @jjimeno ,

There is a specific error for the 4kb size limit so I doubt that is the issue.  The first command is missing a - before file, but I imagine that is just a typo here.  Is this issue persistent? 

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes
jjimeno
Participant | Gold Partner

Hi! 

Thanks for the reply. Yes, the issue is persistent and it should be --file (just a typo). hmm, still not sure what the issue is. 😞 

0 Upvotes