fix LogPathPrefix

Fixes #6903 
There's a stray space after the `;`.