Hi Rong Deng,<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>This helps to change log target on the fly.</div><div><br></div>
<br></blockquote></div><br>You don't need to copy and truncate file_path as a truncated file path is useless !<br>Instead you can use directly m+5. If the path is too long, open() will simply fail.<br><br>Regards,<br clear="all">
Frédéric<br>
<br>