added full logging of the startup process