nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How to turn on apache logs in free bsd?

This is a discussion on How to turn on apache logs in free bsd? within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hi, can you teach me how to turn on apache logs in free bsd? Thanks....


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2008, 04:43 PM
Junior Member
User
 
Join Date: Sep 2008
OS: Debian
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ruffboyz is on a distinguished road
Default How to turn on apache logs in free bsd?

Hi, can you teach me how to turn on apache logs in free bsd?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 05-09-2008, 06:59 PM
amitabh's Avatar
Contributors
User
 
Join Date: Jul 2008
Location: New Delhi
OS: FreeBSD
Posts: 99
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Power: 4
amitabh has a spectacular aura about amitabh has a spectacular aura about amitabh has a spectacular aura about
Send a message via MSN to amitabh Send a message via Yahoo to amitabh Send a message via Skype™ to amitabh
Default

Have you changed any specific settings in your httpd.conf file? Otherwise, Apache by default logs both access and errors.

Take a look at this page:
Apache Log Files
Reply With Quote
  #3 (permalink)  
Old 05-09-2008, 08:50 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Yes, as posted by amitabh, apache logs are turnned on by default. Use the following commands to see about log files:
Code:
ls -l /var/log/httpd-access.log
tail -f /var/log/httpd-access.log
more /var/log/httpd-access.log
Do you have any specific error?
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #4 (permalink)  
Old 08-09-2008, 09:14 AM
Junior Member
User
 
Join Date: Sep 2008
OS: Debian
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ruffboyz is on a distinguished road
Default

Thanks bro, its works..!!
Reply With Quote
  #5 (permalink)  
Old 12-09-2008, 08:37 AM
Member
User
 
Join Date: Jul 2008
OS: Free BSD
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
enochalbert is on a distinguished road
Default

Before that check and see whether the Apache services is running or not. If not, restart the service

/usr/local/etc/rc.d/apache22 restart
Reply With Quote
Reply

Tags
/var/log/httpd-access.log , apache , apache log files , freebsd , log files , tail


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Debian Linux Mail Sever Logs Files Dj_Lord Ubuntu / Debian 7 18-11-2007 08:11 AM
RedHat Linux turn off beep sweta Linux hardware 1 10-08-2007 07:58 PM
Enabling Audit logs using psacct ccubed Getting started tutorials 1 25-06-2007 09:07 PM
Turn on Telnet for a Red Hat Enterprise Linux raj Linux software 1 20-12-2006 02:40 AM
CVS logs how to rajuk Linux software 1 14-12-2006 04:44 PM


All times are GMT +5.5. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38