DaniSb170 / nctoolbox

Automatically exported from code.google.com/p/nctoolbox
0 stars 0 forks source link

log4j: warning #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Problem:
MATLAB gives the following warning when I run ncgeodataset for the first time 
after startup:
log4j:WARN No appenders could be found for logger (ucar.nc2.NetcdfFile).
log4j:WARN Please initialize the log4j system properly.

It only gives this warning for the first time, after that, things are normal. 
As far as I can tell, it has no impact on data accessibility, but I am new to 
using NetCDF. I am concerned that it does mean there is some kind of problem 
and I just can not tell. 

What steps will reproduce the problem?
1. Start MATLAB and run setup_nctoolbox (successful)
2. Load a dataset using ncgeodataset and log4jWARNings will appear
3. Load additional data sets and no warning

What is the expected output? What do you see instead?
Described above. 

What version of the product are you using? On what operating system?
I am using the latest version of nctoolbox, MATLAB version R2011B with Java 1.6 
on a Mac with OS 10.7

Please provide any additional information below.

Original issue reported on code.google.com by barnett....@gmail.com on 16 Nov 2012 at 2:02

GoogleCodeExporter commented 8 years ago
It has no impact on functionality what so  ever. Logging is a tool used for 
development and debugging. The warning  says that the log software, log4j, has 
not been configured to format it's output. There is actually a file, log4j.xml, 
that provides that information and it's even included on the class path. I'm 
not sure why it's not being properly picked up by log4j. I'll look into it, but 
be assured it has no impact on the functionality of nctoolbox.

Original comment by bschlin...@gmail.com on 16 Nov 2012 at 4:23

GoogleCodeExporter commented 8 years ago
Thank you! It is good to know that it does not impact functionality.

-- 

Original comment by barnett....@gmail.com on 16 Nov 2012 at 4:37