Hi Reza,
You should understand the consequence of this command. This means there is no log backup performed, which means once the database needs to do restore, you do not have log to do the recovery. This should never be for production.
Anyway the command is:
dbmcli [-n <hostname> ]-d<databasenname> -u<dbmuser> ,<dbmuserpw> db_execute SET LOG AUTO OVERWRITE ON
I recommend you to use the database studio to play with maxdb (SAP note 1464618). This is a graphic tool that supports all function. So we can do the same as mentioned in the attached screenshot:
Best regards,
James