added modes to logging