On May 24, 2014 8:09 AM, "Christian Grobmeier" <grobme...@gmail.com> wrote: > I didn't know this: {0.enrollmentDate,date,yyyy-MM-dd} would call SimpleDateFormat.
I find it reasonably obvious this is formatting a date. I also don't see anything confusing about the call itself. I prefer code to be distilled to its essence. In this case, logging, I'd rather focus on what I'm logging than the mechanics of Java. A giant chunk of code in the middle of what I'm *really* doing is distracting and takes the focus away from the problem being solved. This is true of Java in general, but I don't want to be overwhelmed by secondary concerns while reading code, whenever possible. While I don't necessarily advocate this as the *only* solution, I wouldn't mind introducing some minor syntax in format strings. I do wonder if it should fit in better with an existing EL rather than introducing yet another, though. Dave