Removed add_to_log lines from locallib