##// END OF EJS Templates
Document -o flag for logstart magic
Chaz Reid -
Show More
@@ -308,6 +308,9 b' one of (note that the modes are given unquoted):'
308 * [append:] well, that says it.
308 * [append:] well, that says it.
309 * [rotate:] create rotating logs log_name.1~, log_name.2~, etc.
309 * [rotate:] create rotating logs log_name.1~, log_name.2~, etc.
310
310
311 Adding the '-o' flag to '%logstart' magic (as in '%logstart -o [log_name [log_mode]]')
312 will also include output from iPython in the log file.
313
311 The :magic:`logoff` and :magic:`logon` functions allow you to temporarily stop and
314 The :magic:`logoff` and :magic:`logon` functions allow you to temporarily stop and
312 resume logging to a file which had previously been started with
315 resume logging to a file which had previously been started with
313 %logstart. They will fail (with an explanation) if you try to use them
316 %logstart. They will fail (with an explanation) if you try to use them
General Comments 0
You need to be logged in to leave comments. Login now