If you disconnect your router, the vast majority of them will not keep the history of your logs. They typically only save the most important configuration data, which ensure that the router will continue to function after it has been unplugged and replugged. It is also possible to delete all history by doing a factory reset on your router.