Credit to Steven Wright, because this article help me so much. If you have problem like me, please follow below procedure to resolve it :
Connect putty and logon into xen server host using root user.
Use “vi” (a text editor) to edit the /etc/logrotate.conf file
Changed the rotate value into what you want and set the log to compress (delete the #).
Press “I” for insert and press “x” to delete. Esc to return to command mode.
After finish, press “:wq” (w = Write and q= quit).
Hi there!
Just a note from me 😉
compress has been enabled already at the top of the file under CA-53139.
Best,
Peter
thanks for the note peter