0

My aim is to implement log rotation for salt-minion installed on Windows. It seems - there is no standard way to reach that: issues 34265 and 26195 on their GitHub are still alive.

I thought about some sort of win-task + a bit of scripting, but I don't want to unexpectedly stop salt-minion service: it might execute important tasks that should not be interrupted.

Maybe someone has a good solution to this problem?

uvas
  • 1
  • 1
  • Can you add codes you worked with so far ? – Ehsan88 Nov 03 '16 at 14:47
  • Well, I'm quite familiar with C#, powershell and python – uvas Nov 03 '16 at 15:44
  • No I mean for implementing what you want. Have you tried anything? Please add it to your question as a starting point. If you haven't please try and code an script then post it here. Questions in SO should have source code in them! – Ehsan88 Nov 03 '16 at 15:52
  • Thank you, Ehsan. As far as I can see it, the question is not about code, but the way of solving. – uvas Nov 05 '16 at 08:48

1 Answers1

0

Thanks to Loren Gordon for reply and Sergey Kizunov for implementation, we've got changeset merged to develop. I hope it would be in release soon.

uvas
  • 1
  • 1