Skip to content
Advertisement

Tag: logging

laravel log system with logstash

I have a laravel application that I want to store my logs into my logstash and see them in kibana i searched a lot over the net to find a solution for it but I didnt find any good source for it, is there any package to use laravel logs into logstash ??? by the way I have my logstash

Apache / PHP error_log location in Docker

My PHP script has an error. For example, this shows this on the screen: Warning: require(/var/www/foo.php): failed to open stream: Where can I find this in the logs? I tried docker logs containerName, but it only shows access logs. E.g., 192.168.2.1 – – [17/Mar/2019:10:00:00 +0000] “GET / HTTP/1.1” 200 505 “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64)… It doesn’t show

How to log errors in the same directory of the script

What the question is about: need each script to log its errors in the same directory that the script is located, need to achieve this through pure configuration. By script I am not referring to included files, I’m referring to the files of the executing web pages. Example 1 A syntax error of: Has to log to: Example 2 A

Advertisement