Is anyone else having problems with logger

So I’m running the latest HA 0.88.2 release and I have a custom_component.

When I organise the directory structure as per the new way:
custom_components/visonic/switch.py

I do not get “debug” information in the log file

In the py file I have:
log = logging.getLogger(name)

and can then use log.debug(“Blah Blah”)

If I organise it the old way:
custom_components/switch/visonic.py

It works, I get my debug statements in the log file

In both cases I have this in my configuration.yaml

logger:
default: debug

Now that i’m reading this…

I’m missing info messages from ios notifications that were there before 0.88 (0.89?).
They will not show even after enable debug for the component.

From custom_components i only see the warnings on HA start.