Disable log rotation not work

Discussion in 'General' started by DoM, Apr 17, 2013.

  1. DoM

    DoM New Member

    Hello,
    on Configuration > Server > Log your software say:

    "Rolling size:

    Specifies when the current log file needs to be rolled over, also known as log rotation. When the file size is over the rollover limit, the active log file will be renamed to log_name.mm_dd_yyyy(.sequence) in the same directory and a new active log file will be created. The actual size of the rotated log file could be a little bigger. Set to 0 to disable log rotation.

    Syntax: Integer number"

    If we set to zero we obtain following error:

    number >= 1M
    *number is less than the minumum required


    Waiting for your reply

    Regards
  2. DoM

    DoM New Member

    Also

    Also if we set this value to 50G for example, your software rotate anyway log at 2GB and NOT at 50GB.


    Waiting for your reply

    Regards
  3. NiteWave

    NiteWave Administrator

    reproduced this issue.

    I edit /usr/local/lsws/conf/httpd_config.xml
    change to 0. restart, no warning.

    see if this works -- no log rotate any more.

    if so, it's a admin console management bug.
  4. DoM

    DoM New Member

    I will check about rotate. Anyway i confirm that on web interface no more error so for sure it's at least an admin console management bug.

    Thank you for your help

    Best regards
  5. gbrush83

    gbrush83 New Member

    Hello everybody,

    I've got the same issue, I've also modified the .xml file showed in this thread with no luck, my logs are still rotating.

    Could you please help me?

    Thank in advance, all the best,

    G
  6. NiteWave

    NiteWave Administrator

    after modify the xml, need restart litespeed.
  7. gbrush83

    gbrush83 New Member

    Hi,

    thank you for your asnwer.

    Unfortunately we already did it (restarting the service).

    I look forward to reading from you some other workarounds to solve my problem.

    Thanks in advance,

    G
  8. gbrush83

    gbrush83 New Member

    Have you any update about my requests?

    Thanks in advance,

    G
  9. NiteWave

    NiteWave Administrator

    when you set "Rolling size"=0, log rotating in what size ? 2G ?
  10. gbrush83

    gbrush83 New Member

    Hello,

    the files are 11M in size.

    All the best,

    G
  11. NiteWave

    NiteWave Administrator

    that's really weird ... I can take a quick look at your server if you PM the access.
  12. DoM

    DoM New Member

    For security reasons we can not send any more access to external operators.

    I think you should have your internal test server where you can replicate this bug.


    Waiting for your reply

    Best regards
  13. NiteWave

    NiteWave Administrator

    please force-reinstall 4.2.3

Share This Page