fixed: crash on startup by creating new log directory if not existing