Closed sebastianneacsu closed 1 year ago
I had one here: https://github.com/groovybits/gaib/commit/52b9599bb81b65a6aea07d854b77808a9df0fb4a#diff-349e858709586b934dbba2f345b55125c0f2f3eabd3430388c1c3a7cbf40e6b9 I added. Worked okay, logged into .next/ though :( so needs some crafting, and doesn't work with Vercels etc of course.
Streaming output to somewhere is ideal, in Cloudrun it logs the console.log output that is backend. This logged client end too by making the logger used through an /api/logger API endpoint :D.
Hi, @sebastianneacsu! I'm Dosu, and I'm here to help the gpt4-pdf-chatbot-langchain team manage their backlog. I wanted to let you know that we are marking this issue as stale.
From what I understand, you were having trouble storing logs from your application running on an Amazon EC2 instance. You mentioned trying options like Winston, but without success. Another user, groovybits, suggested a solution involving streaming output to a specific location, but noted that it may require customization and might not work with certain platforms like Vercel.
Before we close this issue, we wanted to check if it is still relevant to the latest version of the gpt4-pdf-chatbot-langchain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.
Thank you for your understanding, and we look forward to hearing from you soon.
I deployed in an amazon ec2 instance but after a while the application dies. how can I store the logs that appear in console? I tried several options (like winston, etc) but without success. Thanks!