Toggle Debug Logging

Discussion in 'General OpenLiteSpeed Discussion' started by hafriz, Nov 6, 2017.

  1. hafriz

    hafriz New Member

    Hi,

    i have setup Log Level to Debug and Debug Level to None on server level. It seems there are faster log write growing in my log folder although i'm not clicking debug logging to on.

    may i know debug logging button is for? as when i click it, it doesn't change anything
     
  2. lskagan

    lskagan Administrator

    Debug logging button will enable the full debug log regardless of log settings on the fly. This will allow you to enable/disable it without changing settings. Though if you have log level debug + debug level to 9 it will constantly write as debug regardless of state.
     
    hafriz likes this.
  3. hafriz

    hafriz New Member

    hi lskagan, then why it seems there are nothing change when i do click on debug logging button? is there is 'off' button?
     
  4. lskagan

    lskagan Administrator

    Clicking it once enables it, clicking it a second time disabled it. You can notice a difference if you tail an error log file and visit a page. You should see a lot more information than normal.
     
    hafriz likes this.

Share This Page