Suggested logging level?

Discussion in 'Install/Configuration' started by ffeingol, Dec 5, 2009.

  1. ffeingol

    ffeingol New Member

    Right now all of our LSWS's are set to a logging level of 'DEBUG'. I believe that this is the default level when we installed. The problem we're running into is that this causes the error_log (we're using it to replace Apache) tends to get big quickly from all the:

    Updating configuration from /blah/blah/.htaccess
    pid list size: 1
    add child process pid: ###
    etc.

    When cPanel creates a new domain/new add-on domain it parses the error_log and this can really bog down a server with a big error_log.

    So what's the suggest logging level?
  2. mistwang

    mistwang LiteSpeed Staff

    You can set it to NOTICE level if you want.
    You can rotate the log file with a cron job as well.

Share This Page