Removes extra slashes in log file path

Solves bug 3479