-
Notifications
You must be signed in to change notification settings - Fork 43
Issues with logging in v3 #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @martinhybergTE nice to hear from your project! You are right, I neglected logging for version 3.0. I wasn't sure how much demand there was for it and tried to focus on the core LLM features. It's nice to hear that people do actually use it, though. I'll try to improve logging over the next few days. |
Fantastic, keep up the good work! :D |
I just released version |
It now works for the logging when the model is up and running using However the model loading output (see example below) is still in stdout. Is this on purpose?
|
Great to hear!
Yes, but it's a decision I was unsure about. Basically there are two logging components. The GGML backend and the application itself. I decided against including the GGML backend, since it would break JSON-based logging. Also, people are probably more interested in logging requests etc. Would you prefer to access this information? I guess I could leave the decision to library users by giving an additional configuration option. |
I see. I would prefer to have all logging going to the set logger. So I don't have to go scrambling in different locations when I'm troubleshooting in the future 😅 Another config option for this would fix it for me. |
Ok, I've decided against complexifying the API in |
Seems to be working great! Thank you for the swift support ⭐ |
Hello!
I'm using this lovely project in a Spring boot application and it's working well.
But since I upgraded from v2.3.5 to v3.1.1 I'm not able to conf the logging. My goal is to log the output with a slf4j logger according to my logback-spring.xml.
In v2 I used
setLogger
, and now I'm tryingsetLogDirectory
,setDisableLog
,setLogFormat
without success. Nothing seems to happen when I try these in different constellations. I'm not able to disable it, change format, change location etc. The logging always ends up in standard output.Is there something I'm doing wrong or missed?
The text was updated successfully, but these errors were encountered: