use different logpath for debian/rhel