<br><font size=2 face="sans-serif">Thanks Panu,</font>
<br>
<br><font size=2 face="sans-serif">It worked fine.</font>
<br>
<br><font size=2 face="sans-serif">Can I get this scriptlet execution output
in some buffer so that I can print this information in a formatted way?</font>
<br><font size=2 face="sans-serif">I am doing something like:</font>
<br><font size=2 face="sans-serif"><File-name> <Function-name>
<Date-time> <Scriptlet-output in a buffer></font>
<br>
<br><font size=2 face="sans-serif">I will be able to print this in my already
open log file if I get this scriptlet execution oultput in some buffer.</font>
<br>
<br><font size=2 face="sans-serif">- - - </font>
<br><font size=2 face="sans-serif">Thanks</font>
<br><font size=2 face="sans-serif">Virendra Sharma<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Panu Matilainen <pmatilai@redhat.com></b>
</font>
<p><font size=1 face="sans-serif">01/08/2008 01:13 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">viren.sharma@tcs.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">rpm-maint@lists.rpm.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Rpm-maint] Logging rpm installation
logs to file</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Mon, 7 Jan 2008, viren.sharma@tcs.com wrote:<br>
<br>
> Hi Panu,<br>
><br>
> With the change you suggested the error is resolved but rpmtsSetScriptFd()<br>
> is still not logging the data to file.<br>
><br>
> LogFile.txt is created but it is empty :-(<br>
<br>
Mm.. yeah, indeed by default you get /dev/null dupped to your log :)<br>
Add rpmIncreaseVerbosity() call somewhere before executing the <br>
transaction, that should activate the logging.<br>
<br>
-
Panu -<br>
</tt></font>
<br><font size=1 color=white face="sans-serif">ForwardSourceID:NT0000E7CE
</font>
<br><pre>=====-----=====-----=====
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
</pre>