improve documentation on getLogs