Transfer logger correctly when weaver.* exists.
room for version
v4.006

        - correctly pass logger to weaver (thanks, Yasutaka ATARASHI)