Convert missed files in logic to use logger from logic.
Fix link errors.