Log to stderr/out, handle out of range offset.