 Frege certainly developed logic beyond that which was available to Kant, but he did not think of himself as changing the analytic status of it. Logic is after all the only avenue we have for giving meaning to the notion of (logical) contradiction. Of course Frege also attempted to reduce mathematics to logic (including both first and second order logic), and insofar as that reduction was successful it would have implied that mathematics was analytic as well. Frege said little of geometry, but for him it was synthetic a priori.