Skip to main content

Application Logging Best Practices

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
shalomshachne
Offline
Joined: 2010-12-02

We have a team that is new to Glassfish. What are the best practices for handling logging in our Enterprise Application? Glassfish is using the Java logging (as opposed to log4j), and when using Java Logger, see our logging statements going into Server log, which is nice (for now). Assuming that is the way to go, is there a way to customize our logging without mucking around with the server logging properties file? (i.e. leave server configuration intact, and superimpose our own logging on top). Or are there known best practices which are documented somewhere?
Thanks for any help.