Skip to content
  • About
  • Books to Note
  • Contact US

Gullele's Corner

breath in 0's breath out 1's

  • About
  • Books to Note
  • Contact US
  • My Bookmarks
  • PHP Programming
Home apache error 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

  • Share file from Windows to Mac OS
  • Cannot read property setState of undefined
  • See the binding parameters in JPA query – java logs
  • Hibernate Not Creating table from Entity – Java Issue
  • find longest word in the sentence

Recent Comments

  • aj on The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
  • gulleman on jQuery Select Option from Json
  • Tesfaye Gari on jQuery Select Option from Json
  • Fred on Date Picker in jQuery misses next and prev arrow. How to add arrow on jQuery date picker
  • ram on Browser automatically sorting json object based on key problem..

Categories

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

Tags

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

side-ad

Tags

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

Recent Posts

  • Share file from Windows to Mac OS
  • Cannot read property setState of undefined
  • See the binding parameters in JPA query – java logs
  • Hibernate Not Creating table from Entity – Java Issue
  • find longest word in the sentence

Recent Comments

  • aj on The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
  • gulleman on jQuery Select Option from Json
  • Tesfaye Gari on jQuery Select Option from Json
  • Fred on Date Picker in jQuery misses next and prev arrow. How to add arrow on jQuery date picker
  • ram on Browser automatically sorting json object based on key problem..

Categories

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

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