Allow specifying the log directory