tests: Write server node's logs to file