awk 'BEGIN{RS=""; ORS="\n\n"} !/CONNECT|alter system switch logfile/'
gawk 'BEGIN{RS="\n([ \t]*\n)+";ORS="\n\n"} !/CONNECT|alter system switch logfile/'