This repo contains the code to reproduce the issue #1104 in uber-go/fx.
It's as simple as
go run main.go
I expect the logs to look sth like the following. I reduced the output only to the relevant fields.
{"logger":"my_service.service","msg":"name should be `my_service.service`"}
{"logger":"my_service.dummy","msg":"name should be `my_service.dummy`"}
However, this is the actual, faulty output, again only the relevant fields:
{"logger":"my_service.service","msg":"name should be `my_service.service`"}
{"logger":"dummy","msg":"name should be `my_service.dummy`"}