tomasz74
tomasz74

Reputation: 16671

change path to log file from ipython

I run ipython on Ununtu 10.4 and log session by using %logstart.

I would like to define a path to a log file where the session would be logged. At the moment I have ipython_log.py in my home dorectory

Thanks

Upvotes: 1

Views: 328

Answers (1)

Carl Groner
Carl Groner

Reputation: 4359

The first parameter to %logstartshould be the path to the logfile. For example:

%logstart ~/mylog.log

Try ?%logstart to read about the available options.

Upvotes: 2

Related Questions