log to debug; preparing for tests