saving Logdata