log renamed to info, added warn end error