Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing Web Applications with Oracle ADF Essentials

You're reading from   Developing Web Applications with Oracle ADF Essentials Quickly build attractive, user-friendly web applications using Oracle's free ADF Essentials toolkit

Arrow left icon
Product type Paperback
Published in Aug 2013
Publisher Packt
ISBN-13 9781782170686
Length 270 pages
Edition 1st Edition
Arrow right icon
Toc

ADF logging


Beginner programmers tend to litter their code with System.out.println() calls because that's the print statement used in the ubiquitous "Hello World" examples. As programmers gain experience, they tire of having to remove all of these statements before putting code into production and start using a proper logging framework.

There are several options for logging in Java—some of the most well-known are log4j and Logback. However, in an ADF application, it is recommended to use the ADFLogger.

Note

The ADFLogger can write its log output in Oracle Diagnostics Logging (ODL) format that can be read and analyzed by both the developer (in JDeveloper) and by a WebLogic administrator (using Oracle Enterprise Manager Grid Control). If you are running your application in GlassFish, your operations people do not have grid control. However, since ADFLogger offers all necessary logging functionality, it makes sense to use this logging framework just in case your application will some day be deployed...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime