added log trim command
settings is fully moved to required.