[jboss-as7-dev] manual way to do logging?
Jim Crossley
jcrossley at redhat.com
Thu Jun 7 17:47:33 EDT 2012
I really have no skin in this game, but I'm following with deep interest
because 1) Bill, David, Jason, et al are all very smart and opinionated,
2) I happen to believe jboss-logging is over-engineered (though I'm
willing to give the benefit of doubt to those with deeper understanding
of the requirements it was designed to meet) and 3) the exchanges are
often at reality-show levels (fun!). :)
Especially this one:
"David M. Lloyd" <david.lloyd at redhat.com> writes:
[...]
>>> Calling it a "behemoth" doesn't make it one.
>>
>> Let's see:
>>
>> 1. Write interface(s) with a method for each thing you want to log
>> (annotated of course).
[...]
> 1 is a strength so I'm assuming you're not arguing about that.
Wow. That's pretty dismissive of the #1 reason he cites.
Sure I'm a polyglot and all, but sometimes I think you guys too readily
discount the cost of achieving the perceived benefits of type-safety.
"I want to log a message."
"Sure, just create an interface and add a method for it."
"I'm sorry, did you say 'interface'?"
"Yes, and don't forget to annotate it."
"WTF?"
If having to create an interface method for each thing you want to log
doesn't exceed your "developer pain threshold" then it's set way too
high (or your IDE is numbing the pain) and that will inevitably lead to
complex, over-engineered systems.
So you have to acknowledge that cost before Bill or anyone not
intimately familiar with the logging requirements will appreciate how
much value he's getting. And it better be a crapload 'cause that cost is
HIGH!
Sorry to prolong the dialog, but you guys don't seem to be
communicating.
And I'm here to help ;-)
Jim
More information about the jboss-as7-dev
mailing list