Antoniossss
2011-12-26 19:45:30 UTC
Hello guys.
I am aware that this topic is certinly dead by now, but i think that there can be more people like you and me that looking for answer on " how to set level for default console logger in NB"
I guess that u figured it out by now. If not than check this solution:
Simply change logging level for default GLOBAL logger
Code:
LogManager.getLogManager().getLogger("global").setLevel(Level.SEVERE);
simply paste this simple line of code into begining of your static main method.
Voila
Console in nb is clear of your infos and lower logs
The advantage of this solution is that u dont have to write massive block of code, and u are not modifying global settings in JRD_DIR\lib\loggint.properies file, co the changes are only for your particular project
Im not native, so sory for my bad english :)
take care!
I am aware that this topic is certinly dead by now, but i think that there can be more people like you and me that looking for answer on " how to set level for default console logger in NB"
I guess that u figured it out by now. If not than check this solution:
Simply change logging level for default GLOBAL logger
Code:
LogManager.getLogManager().getLogger("global").setLevel(Level.SEVERE);
simply paste this simple line of code into begining of your static main method.
Voila
Console in nb is clear of your infos and lower logs
The advantage of this solution is that u dont have to write massive block of code, and u are not modifying global settings in JRD_DIR\lib\loggint.properies file, co the changes are only for your particular project
Im not native, so sory for my bad english :)
take care!