-
Notifications
You must be signed in to change notification settings - Fork 7
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
0.3.6 Developer Log Truncation regardless of settings #300
Comments
Thanks @jdnlp are you able to include snippets of "good logs" and "bad logs"? |
@yagil Of course. I used lorem ipsum to provide textual content for this example. This is not the entire content of a log file, but rather the focus is on the part that matters for my application specifically, a snippet. I believe the example here explains the issue. The ellipses shown are supposed to show "Truncated in logs" surrounded in less and greater than symbols, but they disappear here on github when I type them out due to formatting, I suppose. The truncation in the logs occurs regardless of the Context Overflow settings chosen by the user such as "Truncate Middle", "Rolling Window" or "Stop at Limit". Good example of log (0.3.5): [2025-01-12 05:46:55][DEBUG] Received request: POST to /v1/chat/completions with body { Litora habitant massa dignissim; sollicitudin nunc et gravida. Rutrum nunc class consequat cubilia eu integer rhoncus id. Nostra metus bibendum dictum et lacinia. Laoreet in eu urna tristique quisque in class quisque. Pulvinar justo tortor congue enim iaculis tristique praesent. Curae malesuada condimentum dictum scelerisque blandit vivamus finibus faucibus? Taciti conubia tristique praesent lorem et. Phasellus turpis quam eros libero mauris. Pharetra porta habitant mus eget vitae habitasse. Maximus hendrerit non aptent; praesent morbi praesent purus mollis. Risus himenaeos inceptos a nulla sit egestas pharetra diam. Dolor malesuada nascetur magna mattis mattis cras. Luctus per quisque ac imperdiet; lorem aenean cras natoque feugiat? Nibh nam porttitor id nascetur iaculis viverra ultrices ex. Nullam commodo facilisis tempor congue est mollis nisi malesuada ipsum. Faucibus nullam tempor sem porttitor amet a mus." Bad example of log (0.3.6 build 8): [2025-01-12 05:46:55][DEBUG] Received request: POST to /v1/chat/completions with body { |
Thanks @jdnlp this helps a lot, I get the issue now. A particular log format is notoriously not a stable API (as demonstrated here). A few questions for you:
|
@yagil Of course, my pleasure to help what I see as a great resource in LM Studio!
|
I'm having the same issue and looking for a way to downgrade to 0.3.5 because of it. |
We'll add a way to turn this back on |
"Just-in-Time Model Loading" switch also isn't being respected. Possibly related, since it's in the same Settings drop down. |
@sgamble1-wowcorp how are you determining that? I see it working. Please create a separate issue because it is in fact separate from this one |
Upon updating to 0.3.6 Build 8 from 0.3.5, I'm unable to obtain full, un-truncated dev. logs. This is regardless of my settings used, such as Verbose Logging, and Log Prompts and Responses.
I had built a small utility for a personal project relying on receiving data from a website that uses LM Studio as an optional API connection. The program works by parsing the saved, dated log files in (user.cache\lm-studio\server-logs). Prior to updating to 0.3.6, I was able to see the full, verbose developer/server log within the LM Studio application as well as in the saved, dated log files. However, after updating to 0.3.6, the information I need is removed due to truncation. I can't imagine that this is intentional, and so it seems as though the Verbose Logging setting has been disabled/subverted by the latest update somehow, even if it is enabled by the user.
To clarify, what happens in the server/dev log is that "... ..." appears to replace any large chunk of text. This is undesirable behavior.
I'll have to revert to 0.3.5 until this issue gets fixed, but I wanted to reach out and make this issue known.
The text was updated successfully, but these errors were encountered: