enabled service regex for logging paths
new function to find/replace service for logging path