[
https://issues.apache.org/jira/browse/CLK-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855603#action_12855603
]
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: https://issues.apache.org/jira/browse/CLK-518
> 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:
> http://lightbody.net/blog/2008/12/tip-compact-logging-in-java.html
> 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:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira