Hassio kernel/console log

I’m having a problem where sometimes deconz will randomly lose ability to control the zigbee network, it may happen after a few days, so to debug this issue I want to capture the logs. How can I get a copy of Hassio’s console and hassos syslogs please?

I do see written to console many messages about USB devices (looks like a Kernel stack trace), but the console is not a file and lines scroll off the top.

Is it possible just to get the logs as plain simple files I can read in bash somewhere?

Thanks

Solved.
Enabled Debugging as described here https://developers.home-assistant.io/docs/en/hassio_debugging.html, the tricky bit was to type “login” to drop into a shell. Then use journalctl to view the syslog. I should’ve read the prompts more carefully!!