mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-10-14 09:28:58 +02:00
Change logging level from info to debug
Updated OllamaAPI to use LOG.debug instead of LOG.info for model pull status messages. Also changed the root logging level in logback.xml from info to debug to allow debug messages to be displayed during tests.
This commit is contained in:
parent
8df36a9b98
commit
d118958ac1
@ -338,7 +338,7 @@ public class OllamaAPI {
|
|||||||
}
|
}
|
||||||
String status = modelPullResponse.getStatus();
|
String status = modelPullResponse.getStatus();
|
||||||
if (status != null) {
|
if (status != null) {
|
||||||
LOG.info("{}: {}", modelName, status);
|
LOG.debug("{}: {}", modelName, status);
|
||||||
if ("success".equalsIgnoreCase(status)) {
|
if ("success".equalsIgnoreCase(status)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<root level="info">
|
<root level="debug">
|
||||||
<appender-ref ref="STDOUT"/>
|
<appender-ref ref="STDOUT"/>
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user