Enable vlogger
April 05, 2009 10:49PM
I'm not sure if this is good forum section for it.

I slowly migrate from apache to nginx. In apache I'm using [url=http://n0rp.chemlab.org/vlogger/]vlogger[/url] to order my logs.

In apache I need to put this:
CustomLog "| /usr/local/sbin/vlogger -s access.log -u www-logs -g www-logs /var/log/apache" combined
in apache2.conf, also I must put %v into LogFormat. If it's possible for nginx to write in logs name of virtualhost? Besides that I was trying to put ino nginx.conf in http section

acces_log "| /usr/local/sbin/vlogger -s access.log -u www-logs -g www-logs /var/log/apache" main

but..it's not working. I search in google, but I found only instruction for apache and lighttpd. I check man for vlogger and author wrote, that it can be used generaly for webservers. It's possible to use vlogger in nginx? If not.. can this by a feature request? :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready