I use Debian stable and Apache 2.4.
In the past I wrote a script with 3 different commands to read all logs of my webserver. Like:
#!/bin/bash nginx -t && echo;echo;echo tail /var/log/access.log && echo;echo;echo tail /var/log/error.log
Right now for my personal websites I use Apache instead.
Is there an Ansible command to check all essential logs of a web server whether Apache/Nginx, or any other webserver with significant usage (statistically) ?
A total "server-environment" command can also be good (say, something that would include Postfix/Ssmtp as and so forth, as well).