added option to retrieve logs from other dirs for log_notify()