fixes #46 setting log path to caption before log loaded into the app