Troubleshooting

Here is a short list of issues you might be facing when using LogHappens:

  • LogHappens can't read apache's error.log!

    By default, apache log files are not readable by apache itself. Which is a good thing, at least on a production server. If you are on a development machine though you might want to give those files the correct permissions in order to be usable with LogHappens.
    Here's how you do it:

    • Edit /etc/logrotate.d/apache2, find the line saying create 640 root adm and replace with create 777 root adm.
    • Add 777 permissions to the apache logs directory: sudo chmod -R 777 /var/log/apache2/
  • LogHappens can't read my application's log files!

    Just set that file's permissions to 777, so that LogHappens can both read and write (truncate) that file.

  • How do I add a log file to be tracked?

    Just add a new record in your config.json file, and set the values according to your preferences.

  • Can I share a new parser?

    Of course! If you have created your own parser, please send it to me, I will be glad to add it to the other parsers!

  • Is there any kind of support with LogHappens?

    If you find some technical issues, please open an issue on GitHub.

https://www.loghappens.henry.wiki/