[GAP Forum] autologging in GAP

David Joyner wdj at usna.edu
Fri Apr 15 17:43:39 BST 2005


Hello GAP Forurm:

Yevgen Muntyan and I have written a function which automatically logs 
all GAP input and output. The log file is named after the time and
date. It only works in linux.

The instructions are on the webpage
http://cadigweb.ew.usna.edu/~wdj/gap/gap_autologging.html
however here are some details.

  (1) Download logger.gap from the webpage and save in
       "/home/wdj/gapfiles/" (of course, change
      the path name "/home/wdj/gapfiles/" to what you like).
  (2) Create the directory "/home/wdj/gapfiles/log" (of course, change
      the path name "/home/wdj/gapfiles/" to what you have in (1))
  (3) Put the following 2 lines in your .gaprc file:
        Read("/home/wdj/gapfiles/logger.gap");
        autologger();
      where the path name "/home/wdj/gapfiles/" is what you have in (1).

That's it! Now every GAP command is automaticaly logged and filed by
date and time in the log subdirectory.


- David Joyner and Yevgen Muntyan




More information about the Forum mailing list