Disable log rotation not work

DoM

Well-Known Member
#1
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
 

DoM

Well-Known Member
#2
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
 

NiteWave

Administrator
#3
If we set to zero we obtain following error:

number >= 1M
*number is less than the minumum required
reproduced this issue.

I edit /usr/local/lsws/conf/httpd_config.xml
<rollingSize>10M</rollingSize>
change to 0. restart, no warning.

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

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

DoM

Well-Known Member
#4
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
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
 
#7
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
 

DoM

Well-Known Member
#12
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
 
Top