moved to private logger