Switch to using logfiles