...
| Code Block |
|---|
// on gt2 startup
Logging.setLogFactory(new Log4JLogFactory());
// generic gt2 class
import java.util.logging.Logger;
import org.geotools.util.Logging;
...
private static final Logger LOGGER = Logging.getLogger("org.geotools.rendering");
|
Documentation Changes
- 02 Integration Basics - including logging redirection in the steps needed to run GeoTools inside a J2EE environment
- Logging - example of how to configure logging.
Optional: provide a note explaining the why of the GeoTools logger factory with a link to Integration Basics - 5.1.3 Logging - code example of what must be done inside the library.
Optional: provide a note explaining the why and how of the GeoTools logger factory.