ErrorLog's with Apache confs

Discussion in 'Install/Configuration' started by TomBG, Mar 18, 2009.

  1. TomBG

    TomBG New Member

    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.
  2. Tony

    Tony Member

    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.
  3. TomBG

    TomBG New Member


    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.
  4. mistwang

    mistwang LiteSpeed Staff

    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?
  5. TomBG

    TomBG New Member

    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.
  6. mistwang

    mistwang LiteSpeed Staff

    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.
  7. TomBG

    TomBG New Member

    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?

Share This Page