Laravel application's error logs & access tracking individually

Add two lines bottom of the Virtual Host tag.

<VirtualHost *:80>

    ErrorLog ${APACHE_LOG_DIR}/error_application.log

    CustomLog ${APACHE_LOG_DIR}/access_application.log common

</VirtualHost>


This command is for showing the logs (-n 100 means the last 100 logs)

tail -n 100 access_application.log

Comments

Popular posts from this blog

WP register_post_type() with custom CMB2 meta box

Git post receive setup at server for git push to the production from local machine