add create host & log example