sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51925
Re: [Question #681239]: Append log msg in existing file
Question #681239 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681239
Status: Open => Answered
Manfred Hampl proposed the following answer:
Just an idea, not sure whether it works:
According to
https://stackoverflow.com/questions/8043356/file-write-printstream-append
it is possible to create a printStream in append mode:
PrintStream writetoEngineer = new PrintStream(
new FileOutputStream("Engineer.txt", true));
instead of the simple
PrintStream writetoEngineer = new PrintStream("Engineer.txt");
Maybe it is possible in Sikuli to add a second parameter to
Debug.setLogFile and Debug.setUserLogFile to specify "append" (if the
file already exists).
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.