In this recipe, we will learn how to list and read log files. This can be helpful when you have access only to the CLI (which might be a remote one), and not to the server itself or the file system hosting the log files.
To fully understand this recipe, you should have followed one of the previous recipes, which have created the various log files. However, the standard WildFly log file
server.log would be present and it's enough.
$ ./bin/jboss-cli.sh --connect [standalone@localhost:9990 /]