Project for monitoring exception files across projects generated by Tracy
- PHP >= 5.3
- MySQL >= 5.6
- Clone this repository to your local storage
- Create folders
log, temp, www_root/webtemp, temp/sessions
in project root. If working on mac/linux runchmod 777 app/changelog && mkdir -m 777 log temp temp/cache www_root/webtemp temp/sessions
- Run
composer install
- Create database, and run queries in app/changelog/init.sql
- Configure database, AWS access keys, hipchat API key and others if neccessary in app/config/config.local.neon (use config.local.template.neon as template)
- Visit
localhost/error-monitoring/changelog
(or appropriate name, depends how do you use your localhost) for additional database table installation
Currently only implementation is AWS S3 storage. Feel free to implement another storage and send pull request.
Exceptions are uploaded to AWS S3 storage from other projects using ErrorCollector.
When you add ErrorCollector to new project, you need to first hit Scan for Projects button to find new project. Button Load exceptions will download all not-yet-downloaded exceptions from all projects.
Configure cron if you want to automatically download exceptions.
/cron/import/import-files
Place this in config.local.neon
parameters:
aws:
s3:
accessKeyId:
secretAccessKey:
bucket:
region:
Exception files from your projects must be stored in this directory structure.
<project-name>/exception/<file-name>.html
All files in exception folder will be parsed and moved to archive folder.
<project-name>/archive/exception/<file-name>.html