Removed old dependencies on tools.logging and tools.trace.

Both `tools.trace` and `tools.logging` were not used in the code.

Removing references and dependencies to reduce exposed libraries and potential source of conflicts.