Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Access_log Not Being Apdated, Apache 1.3.19 misbehavior
salecta
post Feb 19 2003, 11:33 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 11-November 02
Member No.: 133



I found our access_log getting big, and decided to replace it with a smaller
version of the file by

mv access_log acess_log_bak
cat /var/logs/httpd/access_log_bak | grep Feb/2003 > access_log

I had also created a link to it in /var/www/html. I did some playing around with the link, and stuffed it up, but got it right.

The problem is that nothing is being added to the log now. I am not sure what I have done wrong.

sad.gif
Go to the top of the page
 
+Quote Post
chrisw
post Feb 20 2003, 08:55 AM
Post #2


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



you cant create a new log file like that....
just back up the old log file that is getting
big and then restart your webserver and
it will create a new log file that it can use..

you cant actually edit the log file because
once you edit it...it changes something...
dont know exactly what...but nothing will
get added to it...

i might be wrong...but i have tried what you
are doing and it doesnt work.


--------------------

Chris W.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 05:24 PM