enable log for testing