Page 1 of 1

Can I create different logs at runtime?

Posted: Thu Feb 16, 2012 2:59 pm
by Pixi6s
During one Runtime can I create 2 different logs, a debug one and a end user one?

The thought behind my questions is: I am going to create automation that will hopefully solely be ran by an non-qa non-tech person. I'd like to print out a clear and concise log for them. But I would hate for all my informative logging to not get recorded in case they have an issue and I need more information to debug it.

So my thought is to create a log for general viewing as well as one for my consumption each run. An alternative maybe would be all the informative stuff in one log, but it remains hidden unless something is selected to show it.

Thoughts?

Re: Can I create different logs at runtime?

Posted: Thu Feb 16, 2012 3:16 pm
by Ciege
When you view the logs you can deselect the Debug checkbox resulting in all of your debug messages being hidden...

Re: Can I create different logs at runtime?

Posted: Thu Feb 16, 2012 3:25 pm
by Support Team
Hi,
Pixi6s wrote:During one Runtime can I create 2 different logs, a debug one and a end user one?
Sorry but this isn't possible.
Ciege wrote:When you view the logs you can deselect the Debug checkbox resulting in all of your debug messages being hidden...
That's partially true, but only if you use the old 2.x Report. In the new one you don't have option to select or deselect a log level.

Regards,
Peter
Ranorex Team

Re: Can I create different logs at runtime?

Posted: Thu Feb 16, 2012 3:51 pm
by Pixi6s
Bummer, why did you take the functionality away? Can I ask for it back? :)
Thanks

Re: Can I create different logs at runtime?

Posted: Thu Feb 16, 2012 3:52 pm
by Ciege
Support Team wrote: That's partially true, but only if you use the old 2.x Report. In the new one you don't have option to select or deselect a log level.
Oops, sorry about that... :oops: I still use the old logs...

Re: Can I create different logs at runtime?

Posted: Thu Feb 16, 2012 4:06 pm
by Support Team
Hi,
Pixi6s wrote:Bummer, why did you take the functionality away? Can I ask for it back?
Thanks
You are able to set the log level, but only inside a module. I will add a feature request to set also global.
Ciege wrote:Oops, sorry about that... I still use the old logs...
Happens to the best. :D

Regards,
Peter
Ranorex Team