Moved to logging

Logging