Add libs logging and fix exe logging