Appending to existing log file

Ask general questions here.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Appending to existing log file

Post by atom » Mon Nov 01, 2010 6:43 pm

Hiya

Quick question
The Report.Setup method, it seems to over-write the specified file
Is there any way to tell it to append to existing log file?

Thanks

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Appending to existing log file

Post by Ciege » Mon Nov 01, 2010 8:16 pm

set AppendExisting to True.

Code: Select all

Report.Setup(ReportLevel defLevel, string LogFileName, bool LogToConsole, bool AppendExisting)
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Re: Appending to existing log file

Post by atom » Tue Nov 02, 2010 10:44 am

thanks