Page 1 of 1

Integrating Ranorex with logging tools like log4net

Posted: Wed Oct 30, 2013 11:13 am
by SourishHalder
Hello ,

My development team uses Apache Logging Log4Net for custom logging.
I am using Ranorex 4.0.5 for Test Automation of the same. Is there a possibility of integration Log4Net with my Ranorex solution and use it. Any help or information regarding the same would be appreciated.

Regards,
Sourish

Re: Integrating Ranorex with logging tools like log4net

Posted: Wed Nov 06, 2013 1:18 pm
by Support Team
Hello Sourish,

It depends on how you want to use Log4Net.
If you want that the Ranorex.Report (methods, like Report.Info("...")) should directly log the messages to Log4Net, you need to implement a custom logger (need to implement the IReportLogger interface) and if not, you can use Log4Net as you would use it in other .Net applications, there shouldn't be differences in use.

Regards,
Markus