Gullele's Corner

Gullele's Corner

breath in 0's breath out 1's

  • About
  • Books to Note
  • Contact US
  • My Bookmarks
Home where to find apache access log
error

Apache Access log is empty – how to change access log in apache php

Changing Access log file in Apache

Access log empty? Maybe the default access log file is changed??

Or, incase you want to change the default access log to somewhere else here is how you do it

To see the default Access log assuming you are on debian

1. Got to /etc/apache2/

2. Open file apache2.conf

vi apache2.conf

3. Search for CustomLog and see the location of the file. It will be in that location apache would put access log.

To change or create a new Access log

1. Go to /etc/apache2/sites-enabled

2. Open file default, here you can open respective default files that you have

3. On your virtual hosts, add CustomeLog and provide appropriate file that you want to add.. like

CustomLog /var/log/apache2/access.log combined

This will change the default log file location in the web server

Recommended

See Why apache is listing the directory even when I have index file

Configure LAMP on amazon EC2 with this guide

How to fix when apache is not reading php.ini

Posted by gullele / June 21, 2012 / 1 Comments / Tagged with apache, apache configuration file, apache error log, change default access log in apache, changing access log location, CustomLog access log, error, locate apache access log, move apache access log, where to find apache access log, where to get access.log / Posted in PHP

Recent Posts

  • Create Tables From Entity Definitions From JPA Spring
  • spring error ClassNotFoundException org.springframework.web.context.ContextLoaderList
  • The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
  • Add batch/multiple posts to Facebook Page – Graph API
  • Using Facebook API to post articles from PHP

Recent Comments

  • gulleman on Find the pairs that makes K Complementary in the given array java solution
  • mtrad on Find the pairs that makes K Complementary in the given array java solution
  • Leon Gibney on undefined method `render_text’ – ruby error
  • Maltronic on Check if the variable is defined in symfony twig
  • Dudley Nocera on Adding default option on the fly to select with jQuery, removing and some more…

Categories

  • Algorithm (15)
  • Amazon EC2 (7)
  • Apache (3)
  • Arduino (1)
  • ASP.NET (6)
  • Assembly (4)
  • Bash/Shell scripts (3)
  • C (6)
  • Debugging (1)
  • Doctrine (7)
  • Facebook Marketing (4)
  • Generic Programming Topics (8)
  • Git (5)
  • Hibernate (10)
  • iPhone (1)
  • Java Web (48)
  • JavaServer Faces (11)
  • jQuery/JavaScript/CSS (34)
  • Mac OS (25)
  • maven (4)
  • Mercurial (6)
  • mobile development (1)
  • Mockito (2)
  • MongoDB (3)
  • MS SQL Server (7)
  • MySQL (29)
  • node (9)
  • PHP (81)
  • PhpUnit (1)
  • Programming Tools (17)
  • PuPHPet (2)
  • Raspberrypi (3)
  • Ruby on Rails (RoR) (6)
  • Spring/boot (3)
  • Symfony (16)
  • Ubuntu (34)
  • XML/XSL/XSLT (2)
  • YII PHP Framwork (1)

Tags

access algorithm apache array bash cache Change composer connection database doctrine EC2 Eclipse error example Facebook file git hibernate install java javascript jQuery JSF json Linux mac maven mongo multiple MySQL node nodejs not PHP problem request ssh symfony tutorial Ubuntu update vagrant version zend

Tags

access algorithm apache array bash cache Change composer connection database doctrine EC2 Eclipse error example Facebook file git hibernate install java javascript jQuery JSF json Linux mac maven mongo multiple MySQL node nodejs not PHP problem request ssh symfony tutorial Ubuntu update vagrant version zend

Recent Posts

  • Create Tables From Entity Definitions From JPA Spring
  • spring error ClassNotFoundException org.springframework.web.context.ContextLoaderList
  • The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
  • Add batch/multiple posts to Facebook Page – Graph API
  • Using Facebook API to post articles from PHP

Recent Comments

  • gulleman on Find the pairs that makes K Complementary in the given array java solution
  • mtrad on Find the pairs that makes K Complementary in the given array java solution
  • Leon Gibney on undefined method `render_text’ – ruby error
  • Maltronic on Check if the variable is defined in symfony twig
  • Dudley Nocera on Adding default option on the fly to select with jQuery, removing and some more…

Categories

  • Algorithm (15)
  • Amazon EC2 (7)
  • Apache (3)
  • Arduino (1)
  • ASP.NET (6)
  • Assembly (4)
  • Bash/Shell scripts (3)
  • C (6)
  • Debugging (1)
  • Doctrine (7)
  • Facebook Marketing (4)
  • Generic Programming Topics (8)
  • Git (5)
  • Hibernate (10)
  • iPhone (1)
  • Java Web (48)
  • JavaServer Faces (11)
  • jQuery/JavaScript/CSS (34)
  • Mac OS (25)
  • maven (4)
  • Mercurial (6)
  • mobile development (1)
  • Mockito (2)
  • MongoDB (3)
  • MS SQL Server (7)
  • MySQL (29)
  • node (9)
  • PHP (81)
  • PhpUnit (1)
  • Programming Tools (17)
  • PuPHPet (2)
  • Raspberrypi (3)
  • Ruby on Rails (RoR) (6)
  • Spring/boot (3)
  • Symfony (16)
  • Ubuntu (34)
  • XML/XSL/XSLT (2)
  • YII PHP Framwork (1)

© Copyright 2018 Gullele's Corner • Designed by MotoPress • Proudly Powered by WordPress