Hi,

I have some queries related to logging in MIFOS. 

I am working on the report module for MIFOS. There is a requirement 
related to logging user activities and username of the user using which he 
has logged in the application. 

I wrote a test for simple logging with just the user activity and not with 
who was doing it. I am getting the Logger through 
MifosLogManager.getLogger . It returns me a logger on which then I log the 
messages.

When I had a look at what was being logged, It was logging the user logged 
in as "Mifos" which was coming from ApplicationConfig.getUserId(). There 
the given username is hard coded.

I am not sure why this is in place in MIFOS, so apparently what is 
happening is all the log messages are being logged by the user as "Mifos". 


Is this a requirement (IMHO I dont think so) or a defect ?

Any inputs/clarifications will be useful for me. I am attaching a document 
along with the concerned file in this mail.

Regards,
Amiruddin Nagri,
ThoughtWorks Technologies India Pvt. Ltd.,
2nd Floor, Tower C, Diamond District, Airport road,
Bangalore, 560008, KA
India 

Y! IM : [EMAIL PROTECTED]
GTalk : [EMAIL PROTECTED]

Attachment: MifosLogging.doc
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to