Get log retention flag

Gets log retention flag for Logpull API.