Automatically create logs file if it doesn't exist