ixnetwork_restpy icon indicating copy to clipboard operation
ixnetwork_restpy copied to clipboard

TestPlatform(... ,log_file_name=mylogfile) wipes out existing contents in mylogfile

Open sshuguan opened this issue 4 years ago • 1 comments

Hi,

I am using ixnetwork_restpy 1.0.47 and call TestPlatform(...) as below: from ixnetwork_restpy.testplatform.testplatform import TestPlatform testpl = TestPlatform(myserver, rest_port=myrestport, log_file_name=mylogfile)

problem:

  • there exist some log contents in mylogfile before the call
  • those exiting contents in mylogfile get wiped out after the call

how can I make TestPlatform(...) append log lines rather than override them ?

Best regards, sshuguan

sshuguan avatar Jun 15 '20 20:06 sshuguan