Fixed logger initialization
Fixed endpoint initialization