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

Udai Gupta commented on MIFOS-2680:
-----------------------------------

> If (a) is correct , is it ok to merge multiple loggers into a one ? 

Yes, (a) is better than (b) as it's type-safe. 

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

I think it's okay, no need to keep it as two loggers.

Additional info:-
--------------------
I think replacing use of MifosLogger with Log4j logger (per classes basis) 
should be fine, though I haven't tested it, but you can make sure by 
observation and confirming that logging is being done as expected.

http://www.mifos.org/developers/wiki/ImproveApplicationLogging

These classes
org.mifos.framework.components.logger.Log4jLogger
org.mifos.framework.components.logger.MifosLogger
org.mifos.framework.components.logger.MifosLogManager 
(localization of logs, do we need that?)

have lots of things which doesn't look like a requirement to me.
http://www.mifos.org/knowledge/functional-specifications/system-processing/change-logs-and-application-logs#application-logs

Also, we use MifosManager for reading the configuration file
http://www.mifos.org/developers/wiki/LoggerConfiguration

> 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