Log event and system uptime

System log shows message that router was rebooted without proper shutdown referring to an event 2 days old.

System uptime reveals another shutdown in another date but not shown in system log.

So I want to understand what exactly log writes and what system uptime refers to.