Mining the Logs: Deficits and Wars