chikki
16 years agoContributor
how to change log files
Hi Ole,
i have found a link
http://www.eviware.com/blogs/oleblog/?p=497
where you have shown to change the log files.
But i am unable to get as its throwing errors.
Since i am a learner please let me know why the code does not works.
Please give me example of this.
Regards,
Chikki
i have found a link
http://www.eviware.com/blogs/oleblog/?p=497
where you have shown to change the log files.
But i am unable to get as its throwing errors.
Since i am a learner please let me know why the code does not works.
Please give me example of this.
def DIR =context.expand("\${#TestSuite#dir}");
log.info(DIR);
RollingFileAppender rfa = (RollingFileAppender) Logger.getRootLogger().getAppender("FILE");
rfa.setFile(DIR+"Soap.log");
rfa.activateOptions();
Regards,
Chikki