Bug #3820: Factory log cleanup is broken
Master: Factory log cleanup is broken
Look at #3820 for details. We still have calls to cleanup in the code. Verify that python logging module really does the log cleanup else we need to explicitly call cleanup.