Anything else...
I'll do my best to collate this into some sort of paper or demo.
thanks
--
You received this message because you are subscribed to the ADF Enterprise Methodology Group (http://groups.google.com/group/adf-methodology). To unsubscribe send email to adf-methodology+unsubscribe@googlegroups.com
All content to the ADF EMG lies under the Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/). Any content sourced must be attributed back to the ADF EMG with a link to the Google Group (http://groups.google.com/group/adf-methodology).
--
You received this message because you are subscribed to the ADF Enterprise Methodology Group (http://groups.google.com/group/adf-methodology). To unsubscribe send email to adf-methodolo...@googlegroups.com
On Thursday, March 1, 2012 at 4:10 AM, grant ronald wrote:
5) Are logging statements like "You got to this method" really thatuseful to you.
1) Initially I set it up in our ADF BC framework classes on overridden
methods to watch when the framework did it's job. Now this was overkill
as the -Djbo.console option already logs most of this, essentially I was
double logging. Yet I find most of ADF BC's logs unfathomable in the
sense it's way too verbose, and the logs have been written for Oracle's
own ADF BC staff as a debugging tool, not for the everyday programmer
trying to make use of ADF BC. Typically things I added logging was the
VO executeQueryForCollection() so I could see what queries (and bind
params) were hitting the database, and especially the AM methods around
AM pooling for working out what was happening with the task flow
transaction options (as a side note Jan Vervecken is doing some
interesting work there right now http://bit.ly/yUcJSW).
2) Another location where I found logs useful was in JSF managed beans,
in particular the constructors. Without this I wouldn't have discovered
what I considered a subtle issue on the order of bean instantiation (see
"ADF Faces - a logic bomb in the order of bean instantiations"
http://bit.ly/x8I2zD). For the original issue the blog was written
against, the logging allowed us to triage and solve the issue in about
30 minutes which was a real proving point for the logging IMHO.
3) As Pedro pointed out, on the task flow initializers and finalizers
including parameter values (see http://bit.ly/ykhykP). This gives you
the power to "replay" a task flow with the same parameters. But
importantly it also gives you the power to see when task flows are
restarting, which is not always obvious with task flows embedded in regions.
What I was missing at the time was guidance from Oracle how much
overhead the logging has on any solution. Of course the logs can be
controlled by using isLoggable, but if we were to turn it on in a
production scenario what would be the cost? I'll take this up with
Grant to see if we can give some guidance.
Cheers,
CM.
|
Steven Davelaar| Technology
Director | Oracle Consulting Tel +31 30 669 8113 | Fax +31 30 669 9966 Oracle Nederland BV | Rijnzathe 6, 3454 PV De Meern, The Netherlands PO Box 147, 3454 ZJ De Meern,The Netherlands | KvK nr. 30096087 |
| Oracle Expert Services | JHeadstart |