cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDM Logging

Former Member
0 Kudos

Hi ,

Does anyone know how to use MdmLogger using MDM Java APIs.How to setup the log file location and the log level and similar thing...?

Thanks and Regards,

Subhasis

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I think you didnot get my question correctly.

I am building a Java API on top the MDM Java API by SAP.There I want to application logs to a log file.

For that , I am thinking of using Mdmlogger(the logger provided by MDM Java APIs).My question is where can set those Properties .

Former Member
0 Kudos

I am trying to use com.sap.mdm.logging.MdmLogger in my application ,but not sure how to configure log levels ,log location and all..

Former Member
0 Kudos

Hi Subhasis,

For setting the logger for a repository use com.sap.mdm.repository.RepositoryLogProperties.

Use getFileName() method to retrieve the file name of the log.

Hope it helps.

Thanks,

Minaz

Former Member
0 Kudos

Hi Subhasis,

For setting the logger for a repository use com.sap.mdm.repository.RepositoryLogProperties.

Use getFileName() method to retrieve the file name of the log.

Hope it helps.

Thanks,

Minaz

Former Member
0 Kudos

Hi Subhasis,

Well never worked on it, but you can try using java.util.logging.Logger class.

Refer http://help.sap.com/saphelp_mdm550/helpdata/en/43/D7AED5058201B4E10000000A11466F/frameset.htm (MDM Java API -> MDM JavaDocs)

Hope it helps.

Thanks,

Minaz