click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian A. (JIRA)" <>
Subject [jira] Commented: (CLK-518) Smarter log output format.
Date Sat, 10 Apr 2010 17:14:41 GMT


Adrian A. commented on CLK-518:

> What are the proposed changes?
If I understood correctly, the proposed changes are:
- to make a Formatter like the one in examples (with some improvements), but with support
for Log4J  too(since this is what most users prefer)
- use that formatter as default for click-examples
- document the usage, and show how the users could simply make use of it in their own Click
based applications.

Of course, this would belong to the JDK logging framework and/or to log4j, but that might
take just too much time (or if we are realistic it might never happen), so a simply providing
it here as an example or utility seems more pragmatic.

>The link mentioned in the first comment has something to do with shortening package names,
but I'm not sure where 
> this is relevant to Click? Any pointers? 
This is relevant to the Click console output, and also to Click Applications output.
It makes the log files more easily to follow (it helps keeping the tabular form even for longer
package names), and most IDEs also have support to recognize and navigate to the desired class,
even with the short package name - in fact most if the IDEs  already display the package structure
like that too.

> Smarter log output format.
> --------------------------
>                 Key: CLK-518
>                 URL:
>             Project: Click
>          Issue Type: New Feature
>          Components: examples
>            Reporter: Joseph Schmidt
>            Assignee: Adrian A.
>             Fix For: 2.3.0
> To make the log output even better, here's nice solution from another framework:
> I think this would make the log output of click even better.
> thanks,
> Joseph.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message