Redirected library's log to a file.
Addes -s parameter.