» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with man + Apache

How to Split apache Logs With vlogger in debian etch

Vlogger is a little piece of code borned to handle dealing with large amounts of virtualhost logs. It’s bad news that apache can’t do this on its own. Vlogger takes piped input from apache, splits it off to separate files based on the first field. It uses a file handle cache so it can’t run out of file descriptors. It will also start a new logfile every night at midnight, and maintain a symlink to the most recent file. For security, it can drop privileges and do a chroot to the logs directory.

(...)
Read the rest of How to Split apache Logs With vlogger in debian etch (465 words)


© Admin for Debian Admin, 2008. | Permalink | No comment

Add to del.icio.us

Search blogs linking this post with Technorati

Want more on these topics ? Browse the archive of posts filed under Webserver.

---
Related Articles at Debian Admin:

  • WebDAV Configuration With Apache2 On Debian Etch
  • How to setup GeoIP support for apache2 On Debian Etch
  • How to Split lighttpd Logs With vlogger in Debian Etch
  • Setup Easy Hosting Control Panel (ehcp) for Debian/Ubuntu
  • How to setup Apache Tomcat 5.5 on Debian Etch
  • Restart Apache Server without affecting existing connections

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Realtime Apache monitoring with apachetop

    Apache top is a curses-based realtime utility to display information from a running copy of Apache.It is modelled after the standard ‘top’ utility, and displays information such as the requests pers second, bytes per second and the most popular URLs displayed.It must be run from a machine running Apache, as it works by processing the logfiles found in /var/log/apache.

    Install apachetop in Debian

    #apt-get install apachetop

    This will complete the installation

    Using apachetop

    By default Apachetop will use your log in /var/log/apache/access.log, but you can add a -f flag to the command and point it to wherever your apache log really is if you moved it.

    If you try the following command

    #apachetop

    It will give you the following error

    opening /var/log/apache/access.log: No such file or directory
    No input files could be opened

    Because By default debian,Ubuntu Apache2 logs are located at var/log/apache2/access.log you can specify this using the following command.Your apache logs are in different location you can specify that path.

    #apachetop -f /var/log/apache2/access.log

    Apachetop Output looks like below

    If you want more details about apachetop check apachetop man page

    Tags: , , , , , , , , , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots