add support for custom pid + log file(s)