Suricata 7.0.10 cannot enable the unix-socket configuration

I found that after enabling the unix-socket, the logs are no longer output to eve.json. How can I make the logs output to eve.json at the same time?