In this post i will explain what Graylog2 is and how to use it with magento.
By default magento stores exceptions and other information in log files which is fine for development but in production you never see what happens in the dark. If you run a magento store in multi server environment you also have the problem that each webserver has it’s own log files. I thought it would be very nice to have GUI where i can see all log messages of all webservers in one central place.
What is Graylog2?
Graylog2 is an open source log management solution that stores your logs in a ElasticSearch database.
It consists of a server written in Java that accepts your syslog messages via TCP, UDP or AMQP and stores it in the database.
It also come with a nice web interface that allows you to manage the log messages from your web browser.