Where does Docker save logs?

Docker seems to allow to specify any log driver of choice either through /etc/docker/daemon.json or through options while running a container. Further, it allows specifying driver options too, but is it possible to mention the location where the logs themselves get stored. Or at least can I know where docker is saving the logs even if the location is not customizable.

Reference: For example consider the default driver – JSON File logging driver

Environments to consider: Ubuntu/CentOS/Windows etc… but looking for generic solution.

Source: StackOverflow