added publish to log"