forked from Mirror/ollama4j
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:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user