CMS Development

jjimeno
Teilnehmer/-in | Diamond Partner
Teilnehmer/-in | Diamond Partner

Serverless Function Logs

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 Antworten
dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

Serverless Function Logs

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? 

0 Upvotes
jjimeno
Teilnehmer/-in | Diamond Partner
Teilnehmer/-in | Diamond Partner

Serverless Function Logs

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