How to install cronolog with nginx?

Viewed 46

I install nginx and its working but i want to make it work with cronolog. I also make required changes in nginx.conf file for work with cronolog but i unable to make cronolog work with nginx.

The changes I made in nginx.conf is access_log /var/log/nginx/access.log main_ext; to access_log /var/log/nginx/access.log.pipe main_ext; .

And I running this command nohup cat /var/log/nginx/access.log.pipe | nohup /usr/local/sbin/cronolog /var/log/nginx/logs/access.log.%Y-%m-%d & to get the logs. But this command is also not working.

I need any solution how I install cronolog with nginx.

0 Answers
Related