log mode from info to debug