Am 11.12.2011 10:37, schrieb Ivan Habunek:
On 10 December 2011 17:31, Florian Semm<[email protected]> wrote:
There a two things which I missed in the docu:
1. something about the NDC/MDC logging
2. you have already said: most of the configurations are XML/PHP. But the
focus is more on XML configuration. So we should increase the number of PHP
example configurations. A "nice to have" feature would be a switch like in
the documentation of Doctrine: [1]
I don't know if point one is important enougth to realize it for the 2.2
release, but in the coming 2.3 release it should be.
[1]:
http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html#persistent-classes
I like the idea of XML/PHP configurations in tabs. I thought about
this earlier, but bootstrap's implementation of tabs required jquery
and it seemed like overkill to include jquery just for that. Now,
thinking about it, our pages are tiny compared to most on the web. I
suppose an additional server request will not kill anyone. :)
I added XML/PHP tabs to all appenders and layouts. See here:
http://people.apache.org/~ihabunek/log4php/docs/appenders/console.html
I love the tabs and the new top-bar. Great! :)
The other configuration examples will wait until 2.3 because I'm sick
of writing docs. Actually, I will create a JIRA issue with all the
things we have to add to docs. I'll add MDC& NDC here as well.
I think it's useful to create, for each missing configuration-example, a
sub-ticket in jira, insteat of one big ticket.
Regards,
Ivan
Regards,
Florian