Changed log warning to include command type (normal or admin)