This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
|Summary:||Java: Consolidating how logging is treated across a project|
|Component:||Source||Assignee:||Svata Dedic <sdedic>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
Description pekarna 2013-06-24 18:18:54 UTC
* When generating `catch` blocks, NetBeans always uses java.util.logging. * When generating test classes, NetBeans uses System.out.println(). * When generating a class, NetBeans doesn't generate any logging code. It would be nice if NetBeans used unified logging, configurable per project. * Project configuration would allow to choose amongst few (JUL, Log4j, JBoss Logging) * When generating code, NetBeans would obey this setting * When generating a class, NetBeans would add static logger reference (it's easier to delete it (Ctrl+X, Ctrl+I) than to add it): private static final Logger log = LoggerFactory.getLogger( Foo.class ); Thanks for considering.