LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2005, 10:08 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
multiple log files in apache


Is there a way to have 1 global log file (ex: everything) but also have logs for each section?

I tried putting that directly in the conf (not in between <virtualhost> </virtualhost> but it only seems to log stuff that is not being logged as a seperate file.

ErrorLog /data/samba/public/logs/apache/borg-error.log
CustomLog /data/samba/public/logs/apache/borg.log common

Webalizer only accepts one log file, so I want to be able to speficy the global one, but at the same time still have seperate logs for all virtual hosts.
 
Old 09-27-2005, 12:42 AM   #2
korozion
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Debian
Posts: 124

Rep: Reputation: 15
You're on the right track with CustomLog, failing getting that working, you could always build a script to cat the files together
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Multiple Log Files koacamper Linux - Newbie 3 09-24-2005 07:24 PM
howto network syslog with multiple log files mcalizo Red Hat 2 05-27-2005 06:58 AM
Apache newb here ... allowing users to DL multiple files? TheVrolok Linux - Software 0 10-14-2004 01:12 PM
Question on Apache Log Files JLDixon Linux - Software 1 10-12-2003 11:03 AM
Can log files be time stamped? (such as FTP login and transfer log files) bripage Linux - Networking 6 08-08-2002 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration