ssh to the router and use command “logread” to get the log.

About how to SSH to the router SSH to the Router - GL.iNet Docs