Manually enable debug logging
Wipe template on upgrade