[ 
http://mifosforge.jira.com/browse/MIFOS-2680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57481#action_57481
 ] 

Dhanushka kottegoda commented on MIFOS-2680:
--------------------------------------------


I started working on this issue but I need small clarification.


 1.) When i use Log4J directly do i have to keep those loggers mentioned in 
LoggerConstants class  ?  As an example which one of following is correct ?

      a.) Use class name as the logger name .
           e.g - private static Logger logger 
                          =Logger.getLogger(Persistence.class);


      b.) Use LoggerConstants 
           e.g - private static Logger logger                           
                      =Logger.getLogger(LoggerConstants.FRAMEWORKLOGGER);

                                                                            
If (a) is correct , is it ok to merge multiple loggers into a one ? as an 
example  there are two loggers available on MifosRequestProcessor as

 LOG = MifosLogManager.getLogger(LoggerConstants.FRAMEWORKLOGGER);
 HITLOG = 
       MifosLogManager.getLogger(LoggerConstants.FRAMEWORK_STRUTS_LOGGER);

is it ok to megee above two in to single logger of do i i have to keep it as 
two loggers ?


> Eliminate MifosLogManager entirely and instead use Log4j directly
> -----------------------------------------------------------------
>
>                 Key: MIFOS-2680
>                 URL: http://mifosforge.jira.com/browse/MIFOS-2680
>             Project: mifos
>          Issue Type: Improvement
>          Components: Logging
>    Affects Versions: Unscheduled
>            Reporter: Udai Gupta
>            Assignee: mifosdeveloperqueue
>             Fix For: Unscheduled
>
>


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

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to