microsoft / onefuzz

A self-hosted Fuzzing-As-A-Service platform
MIT License
2.82k stars 198 forks source link

Update message when downloading logs #3490

Closed mgreisen closed 11 months ago

mgreisen commented 1 year ago

Information

Provide detailed reproduction steps (if any)

  1. download the logs using the command "onefuzz debug logs get --job_id xxxx"

The statement that is returned to the console is: "INFO:onefuzz:Downloading only the 1 most recent files"

It is unclear that is the most recent file for each task.

Using alternate phrasing easily clears this up by adding "for each task" to the end.

AB#165341

stishkin commented 1 year ago

There is no "most recent" anymore, since we should be downloading "all" logs by default

kananb commented 11 months ago

From what I understand, unless the --all flag is used only the --last n most recent logs are downloaded where n defaults to 1.

Edit: You're right about downloading "all" logs. In fact, it should be the only behavior rather than just the default behavior. See #3572.