Can I show my mining debug.log?

I always checked my log like this

docker exec -it sawtooth-validator-default tail -f /var/log/sawtooth/validator-debug.log

but after 1.6 version I can not find debug.log

tail: cannot open ‘/var/log/sawtooth/validator-debug.log’ for reading: No such file or directory
tail: no files remaining

How do I command to view logs??

if you use any toml + docker-compose.yaml configurations, there is no logs.

if you wanna any log files, and first you remove toml configurations in yaml files.

and after you remove your toml configurations,

docker attach sawtooth-validator-default

above commands will give you continuous some logs

By default, we’ve enabled storing the logs in Docker only and not duplicating them in the container /var/log/sawtooth directory.

You can also do something like:
docker logs sawtooth-validator 2>&1

or combine it with grep like this:
docker logs sawtooth-validator 2>&1 | grep 'WARNING'

If you want the full log files, you can do this:
docker inspect --format='{{.LogPath}}' sawtooth-validator and it’ll return the path to the docker log file, e.g.
/docker/containers/c6c418004a0fe83a55e0b5a6fbdce7309de403692e5e61c2aa4b05b38d947508/c6c418004a0fe83a55e0b5a6fbdce7309de403692e5e61c2aa4b05b38d947508-json.log

See https://docs.docker.com/engine/reference/commandline/logs/ for more ideas.