<div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
</div></div>According to the documentation, %logstart has a -t option to enable timestamps:<br>
<a href="http://ipython.org/ipython-doc/stable/api/generated/IPython.core.magic.html#IPython.core.magic.Magic.magic_logstart" target="_blank">http://ipython.org/ipython-doc/stable/api/generated/IPython.core.magic.html#IPython.core.magic.Magic.magic_logstart</a><br>
<br></blockquote><div><br></div><div>I enabled logging in ipython_config.py and can't see how to apply your suggestion.</div><div><br></div><div>I know I can track session timestamp from sqlite history file, and dump the session timestamp together with "history" table (which has session number), but that's not very convenient, if there is already feature that logs timestamped commands is text file</div>
<div><br></div><div>It's not big deal if this setting can't be found, buried deep. I got curiious when I saw that timestamping is supported and set to false.</div></div>