'running `go test` in one package results creating unwanted log folder

I'm trying to make a unit test for one package in a complex codebase but every time I try run go test, it results in making unwanted log folder. I assume in one of imports' imports' imports has init() that creating the log folder(Am I right?)..but I don't know how to track it!

Is there anything I can do in this situation?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source