Dear SNAP support, I would like to ask your help for the snap log. As you may know, we integrate SNAP jars in our code to execute workflows and other things.
We need to access the logs, so, with version 6 and 7, we had this snippet of code:
SimpleFormatter oSimpleFormatter = new SimpleFormatter();
FileHandler oFileHandler = new FileHandler(sSnapLogFile, true);
This worked very well!
Now we updated to version 8 and we cannot see any log in the file referenced to sSnapLogFile.
Do you have any idea why?
Did anything change maybe? This can be our fault obviously, but since we did not change this part any suggestion will be appreciated.
Thanks
Paolo
Hi Marco!! Thanks as always. Iām with you, but this is not logging and I donāt understand.
Just last question: can you double check if it is correct how we set the āGeneralā log level?
This line:
SystemUtils.LOG.setLevel(oLogLevel);
Should apply to all the logs in the SNAP code, can you confirm?
Thank you anyway.
Best Regards,
Paolo