Let $D$ denote the disk $|z|<1$ in the complex plane and $U=D\0$(punctured disk). Define a holomorphic connection $\nabla$ on $\mathscr{O}_U$ by $\nabla(1)=\exp{(-1/z)}$. Does this extend to a logarithmic connection on $\mathscr{O}_D$, i.e. does this extend to $\nabla_D:\mathscr{O}_D\to \Omega_D(0)$?
More generally, suppose $\nabla$ is a holomorphic connection on $\mathscr{O}_U^{\oplus r}$, can we extend it to a logarithmic connection on $\mathscr{O}_D^{\oplus r}$.