[jira] Commented: (DIREVE-171) add log4j config patch
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Commented: (DIREVE-171) add log4j config patch




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (DIREVE-171) add log4j config patch  
Emmanuel Lecharny (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-27-05 07:45 AM

[ http://issues.apache.org/jira/brows...231452
3 ]

Emmanuel Lecharny commented on DIREVE-171:
------------------------------------------

Hi Nick,

in MainFrame.class, I think that keeping the code this way should be enough 
:

.. else if ( mode == FilterDialog.DEBUG_MODE )
{
log.debug( "Search attempt using filter '" + dialog.getFilter() + "' "
+ "with scope '" + dialog.getScope() + "' and a return limit of '"
+ dialog.getLimit() + "'" );

}

You already have a test on the level, so do not care about the string being 
built.

Anyway, yes, I think there is an inconstency about debug level used in log4j
 and FilterDialog.

Be  aware that the little optimization I suggested is better suited for serv
er side, not for GUI. So use it when you think it fits your need. Personnaly
, I found it confortable to use it everywhere, because it don't arm (except 
when you want to switch to
debug dynamically).

About your last question, I don't know. This is up to you to decide if it sh
ould !

Keep up the good job ! We need guys like you working on those pieces of code
 !

> add log4j config patch
> ----------------------
>
>          Key: DIREVE-171
>          URL: http://issues.apache.org/jira/browse/DIREVE-171
>      Project: Directory Server
>         Type: Improvement
>   Components: server main
>     Versions: 0.9.1
>     Reporter: Nick Faiz
>     Assignee: Alex Karasulu
>     Priority: Trivial
>  Attachments: log4j.properties, log_patch2.txt, logging_patch.txt
>
> Please find enclosed a patch (diff file) and a log4j.properties file.
> You should create a src/etc directory for main and core and place the prop
erties file there.
> Cheers,
> Nick

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:24 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register