Fix Logger.
Fix multiple root, Template dao.