Make logs and get_cli using curl and digest auth function again.