Logs from class Python work