OpenIxia / ixnetwork_restpy

The IxNetwork python client.
https://openixia.github.io/ixnetwork_restpy/#/
MIT License
30 stars 16 forks source link

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

Open sshuguan opened 4 years ago

sshuguan commented 4 years ago

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:

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

Best regards, sshuguan

ajbalogh commented 4 years ago

Hi @sshuguan - thanks for posting this issue - a new parameter will be added to allow for append which will be available in the next version.