You can download these logs using HTTP request with basic authentication: http://buildserver/httpAuth/downloadBuildLog.html?buildId=<build id>&archived=true
If logs are available to guest you can use /guestAuth/ prefix.
Sorry, I misunderstood you. But the approach is the same, you can download them by URL using http basic authentication. The URL in case of agent is: http://buildserver/httpAuth/agent/downloadLogs.html?agentName=<agent name>
You can download these logs using HTTP request with basic authentication:
http://buildserver/httpAuth/downloadBuildLog.html?buildId=<build id>&archived=true
If logs are available to guest you can use /guestAuth/ prefix.
I think we may be talking about 2 different things. I'm referring to the Agent's logs, not the logs from a particular build.

-T
Sorry, I misunderstood you. But the approach is the same, you can download them by URL using http basic authentication. The URL in case of agent is:
http://buildserver/httpAuth/agent/downloadLogs.html?agentName=<agent name>
Perfect! Thanks!