Where do I find logs for containerized Flask server?

I’m getting status code 500 on my Dockerized Flask server.
I bashed into the container to check the logs:

docker exec -ti container_name /bin/bash

in /var/log I found:

[email protected]:/var/log# ls -al
total 224
drwxr-xr-x 1 root root   4096 Oct 13 21:02 .
drwxr-xr-x 1 root root   4096 Oct 12 07:00 ..
-rw-r--r-- 1 root root   9052 Oct 20 20:50 alternatives.log
drwxr-xr-x 1 root root   4096 Oct 20 20:49 apt
-rw-rw---- 1 root utmp      0 Oct 12 07:00 btmp
-rw-r--r-- 1 root root 164661 Oct 20 20:50 dpkg.log
-rw-r--r-- 1 root root   3232 Oct 12 07:00 faillog
-rw-rw-r-- 1 root utmp  29492 Oct 12 07:00 lastlog
-rw-rw-r-- 1 root utmp      0 Oct 12 07:00 wtmp

I couldn’t cat or nano the files faillog nor lastlog so I don’t know if the files
are relevant.

Where do I find access log or error log for containerized Flask server ?

Source: Docker Questions