update to use __DIR__ constant for default log path