add logs in autostart