2011/11/16 Mei, Lei <lei....@intel.com>:
> Hi all,
>        I am a developer of Yocto project(http://www.yoctoproject.org/), our 
> project is for embedded industry. we support rpm5 in our project, but the 
> /var/lib/rpm/log grows indefinitely, it's unacceptable in embedded device. I 
> am trying to disable these logs in rpm5, but didn't find a good way.
>   Anyone can supply some help? Thanks a lot!

You can manually remove log files no longer needed with 'db_archive -d'.

You can also enable automatic removal of these logs by enabling the berkeley
db configuration flag DB_LOG_AUTO_REMOVE (this way only one 10MB log
file will be kept around).

--
Regards,
Per Øyvind
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to