16.3 Logging your Sage session

Yes you can log your sessions.

(a) Modify line 186 of the .ipythonrc file (or open .ipythonrc into an editor and search for ``logfile''). This will only log your input lines, not the output.

(b) You can also write the output to a file, by running Sage in the background (§16.1).

(c) Start Sage in a KDE konsole (this only work in linux). Go to settings $ \rightarrow$ History ... and select unlimited. Start your Sage session. When ready, go to edit $ \rightarrow$ save history as ....

Some interfaces (such as the interface to Singular or that to GAP) allow you to create a log file. For Singular, there is a logfile option (in singular.py). In GAP, use the command LogTo.

See About this document... for information on suggesting changes.