Magento is a PHP ecommerce application. In case of severe problems, Magento crashes, generating a file for each crash in a var/report directory.
The file contains informations about the crash (db unreachable for instance). The file name is a random number.
I'm looking for a solution to detect and send those reports automatically when they appear in the var/report directory.
I tried using the directory as a path : not working:
prospector.go:293: Skipping directory: /var/www/magento/var/report/
For now I will simulate a log file with a bash script loop running in background, but this is not very handy.
I may create an enhancement issue for that.
Thanks in advance,