mirror of
				https://github.com/amithkoujalgi/ollama4j.git
				synced 2025-11-04 02:20:50 +01: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:
		@@ -338,7 +338,7 @@ public class OllamaAPI {
 | 
			
		||||
        }
 | 
			
		||||
        String status = modelPullResponse.getStatus();
 | 
			
		||||
        if (status != null) {
 | 
			
		||||
            LOG.info("{}: {}", modelName, status);
 | 
			
		||||
            LOG.debug("{}: {}", modelName, status);
 | 
			
		||||
            if ("success".equalsIgnoreCase(status)) {
 | 
			
		||||
                return true;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@
 | 
			
		||||
        </encoder>
 | 
			
		||||
    </appender>
 | 
			
		||||
 | 
			
		||||
    <root level="info">
 | 
			
		||||
    <root level="debug">
 | 
			
		||||
        <appender-ref ref="STDOUT"/>
 | 
			
		||||
    </root>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user