Follow up ticket for T6072, see discussion there, too.
It would be helpful for support it there was a possibility to easily enable logging directly. This is especially important on Windows. The log output should be directed to log files.
As the implementation for different background processes will different, they get their own subtasks.