if I do a dmesg in an lxd container, it shows the log of the host, lxd container has no its own dmesg log, right?
Should be correct.
The man page of dmesg says:
dmesg - print or control the kernel ring buffer
As linux containers use the same kernel as the host, there cannot be a seperate log.