#11134: Add logging for Dokchitser scripts
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |       Owner:  was          
       Type:  enhancement     |      Status:  needs_info   
   Priority:  minor           |   Milestone:  sage-4.7     
  Component:  interfaces      |    Keywords:  dokchitser gp
     Author:  Jeroen Demeyer  |    Upstream:  N/A          
   Reviewer:                  |      Merged:               
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by jdemeyer):

 Replying to [comment:2 cremona]:
 > Would it work to move the logfile parameter to the init function, with
 default None, and have that function start up the interpreter?

 Not sure, because the Dokchitser stuff is often initialized indirectly.

 I could live with the following:
 {{{
 logfile = None
 # For debugging
 #logfile = os.path.join(DOT_SAGE, 'dokchitser.log')
 g = sage.interfaces.gp.Gp(script_subdirectory='dokchitser',
 logfile=logfile)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11134#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to