Thanks Panu,

It worked fine.

Can I get this scriptlet execution output in some buffer so that I can 
print this information in a formatted way?
I am doing something like:
<File-name> <Function-name> <Date-time> <Scriptlet-output in a buffer>

I will be able to print this in my already open log file if I get this 
scriptlet execution oultput in some buffer.

- - - 
Thanks
Virendra Sharma




Panu Matilainen <[EMAIL PROTECTED]> 
01/08/2008 01:13 PM

To
[EMAIL PROTECTED]
cc
rpm-maint@lists.rpm.org
Subject
Re: [Rpm-maint] Logging rpm installation logs to file






On Mon, 7 Jan 2008, [EMAIL PROTECTED] 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 -

ForwardSourceID:NT0000E7CE 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to