Removed path checking to allow additional logging options.