Hi,<br><br>I wanted to log in a file and keep the console also going with it.<br><br>I am using <br>log.startLogging(open(logname, &#39;w&#39;))<br><br>whatever documentation I could find about this API, it suggested me to pass setStdout=False(in order to keep stdout away from putting into log) somewhere in the startlogging function.<br>
<br>Something like this I tried:<br>log.startLogging(sys.stdout,setStdout=False)<br><br>Doesnt help in solving the problem of getting both things:<br><br>Requirement:<br>log.msg(&quot;messageforlog&quot;)    -&gt; goes to log<br>
print &quot;message for console&quot; -&gt; goes to console<br><br>Could anyone give some ideas on this?<br><br>Regards<br>Naman<br>