LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > ErrorLog's with Apache confs

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2009, 04:01 PM
TomBG TomBG is offline
Member
 
Join Date: Oct 2008
Posts: 43
Default ErrorLog's with Apache confs

How can we get errors either included in the access.log or in their own file?

Customers need to be able to check the logs for script errors, site errors, broken links, etc. But it doesn't look like there's any way to get this working. Our existing customers using LS have been asking us the same thing. They want errors written to a log they have access to and can monitor.
Reply With Quote
  #2  
Old 03-18-2009, 04:15 PM
Tony Tony is offline
Senior Member
 
Join Date: Dec 2008
Posts: 133
Is this a control panel reading the log errors? For cPanel for example you need the log level set as INFO in lsws in order for users to see logs from their cPanel error log page.
__________________
Hawk Host
Frog Host
Reply With Quote
  #3  
Old 03-18-2009, 04:33 PM
TomBG TomBG is offline
Member
 
Join Date: Oct 2008
Posts: 43
Quote:
Originally Posted by Tony View Post
Is this a control panel reading the log errors? For cPanel for example you need the log level set as INFO in lsws in order for users to see logs from their cPanel error log page.

No this is for a custom Apache installation with our own control panel software. But if they've got it to work, then it must be possible somehow. Probably by writing everything to the access.log file.
Reply With Quote
  #4  
Old 03-18-2009, 04:43 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
cPanel grep the users' home directory in the main error log to extract errors relate to that user.

What's your solution when Apache is used? Per vhost error log file?
Reply With Quote
  #5  
Old 03-19-2009, 06:14 AM
TomBG TomBG is offline
Member
 
Join Date: Oct 2008
Posts: 43
Quote:
Originally Posted by mistwang View Post
cPanel grep the users' home directory in the main error log to extract errors relate to that user.

What's your solution when Apache is used? Per vhost error log file?
That's what I'd like to have. Is this not possible? Are there any plans to have error logs written to their own files? It's so much more convenient for management on hundreds or thousands of domains.
Reply With Quote
  #6  
Old 03-19-2009, 10:43 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
LSWS honor the 'ErrorLog' directive, but using per-vhost error log has scalability issue when large number of vhosts are hosted. Grepping the global error log file is a better solution to me.
Reply With Quote
  #7  
Old 03-21-2009, 07:15 AM
TomBG TomBG is offline
Member
 
Join Date: Oct 2008
Posts: 43
Yes, I do see that it's writing to the error.log files. We'll keep an eye on things as far as performance is concerned.

How would this differ any from writing to hundreds/thousands of access.log files?
Reply With Quote
Reply

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

Forum Jump


All times are GMT -7. The time now is 12:20 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.