Changed get_logs to also get error and xfer logs