log load error at debug level
This commit is contained in:
		
							parent
							
								
									97a3547b60
								
							
						
					
					
						commit
						1e80697f92
					
				@ -33,7 +33,7 @@ public class Sigar implements SigarProxy {
 | 
				
			|||||||
        } catch (SigarException e) {
 | 
					        } catch (SigarException e) {
 | 
				
			||||||
            String msg = "Sigar.load: " + e.getMessage();
 | 
					            String msg = "Sigar.load: " + e.getMessage();
 | 
				
			||||||
            try {
 | 
					            try {
 | 
				
			||||||
                SigarLog.error(msg, e);
 | 
					                SigarLog.debug(msg, e);
 | 
				
			||||||
            } catch (NoClassDefFoundError ne) {
 | 
					            } catch (NoClassDefFoundError ne) {
 | 
				
			||||||
                //no log4j.jar
 | 
					                //no log4j.jar
 | 
				
			||||||
                System.err.println(msg);
 | 
					                System.err.println(msg);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user