Add the possibility to set an optional log file for debugging.

Only Ipopt output file is supported for now.