Docker logs lost after system reboot when using local file logging driver

I am using docker-compose to start my service and switched to local driver by adding

    logging:
      driver: local

in all the services. It seems that after a system reboot, the logs are not available anymore if using docker logs <container> command. Is this an expected behavior, if yes, is there a way to persist them across system reboot?

If the containers are somehow recreated during reboot, then it is the expected behavior. Is this the case?