Log even if the GUI is hidden