You can redirect outputs to files? Never thought of that!

Its not called every time anything is logged, but log-replaced. That is very infrequent.