Servertasks logs (TaskLogs) are not deleted on Project deletion

We noticed a large amount of space is taken up on our Octopus server by the TaskLogs folder, and in fact, some of the files in there are from Projects which have long since been deleted. Is there a missing cleanup task here?

Hi Ryan

Thanks for reaching out!

From my testing here, it looks like task logs are correctly cleaned up when a project is deleted.

Can I get a bit more information from you?

  • What version of Octopus are you running?
  • Have you ever modfiied the task log location?
  • To make sure we are on the same page, how are you determining that the files are related to deleted projects?

Looking forward to getting to the bottom of this one.