Chcking application logs

New to the fly community. Really love the product, especially the docs. I just deployed a flask application with PostgreSQL. I have this problem/query now.

How do I check the application logs lively? I mean, if I write something inside the application with some print statement then that should be available on the logs as soon as the print statement is executaed. How do I (tail) check the output in the deployed application?

Thanks in advance.

Try fly logs at first.

I have a separate vm running a log shipper which reads from NATS and forwards to my log provider. It’s using vector for the shipping.

hey @koushikphy

were you able to figure out how to view the logs? I expect to see the logs generated by printstatements on the console when viewing the logs using flyctl logs (for me tailing is not a requirement, but would be helpful)