nickkirby
asked on
Apache not writing to log files
Hullo, I have a server hosting five or so websites.
Each site logs to it's own log files.
I have created a custom log to record traffic types.
Four of the five sites are logging traffic without difficulty. One isn't.
Is there a method whereby I can "invalidate" all the log files, delete them and "force" Apache to create new log files?
I'm wondering if my moving the files around between servers (from dev to live) has caused problems, as I've created text files and name them access.log....
It's not massively urgent, but something I'd like to have as a sort of script that could run every 30 days or so.
Many thanks,
Nick
Each site logs to it's own log files.
I have created a custom log to record traffic types.
Four of the five sites are logging traffic without difficulty. One isn't.
Is there a method whereby I can "invalidate" all the log files, delete them and "force" Apache to create new log files?
I'm wondering if my moving the files around between servers (from dev to live) has caused problems, as I've created text files and name them access.log....
It's not massively urgent, but something I'd like to have as a sort of script that could run every 30 days or so.
Many thanks,
Nick
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers,
Nick