[Rpm-maint] Logging rpm installation logs to file

Panu Matilainen pmatilai at redhat.com
Tue Jan 8 07:43:46 UTC 2008

On Mon, 7 Jan 2008, viren.sharma at tcs.com wrote:

> Hi Panu,
> With the change you suggested the error is resolved but rpmtsSetScriptFd()
> is still not logging the data to file.
> LogFile.txt is created but it is empty :-(

Mm.. yeah, indeed by default you get /dev/null dupped to your log :)
Add rpmIncreaseVerbosity() call somewhere before executing the 
transaction, that should activate the logging.

 	- Panu -

More information about the Rpm-maint mailing list