fix LogPathPrefix

Fixes #6903 
This is a nasty side-effect for an otherwise innocuous getter to have.  I recommend moving this into `AddChannel` instead.