def init_logstart(self):
    'Initialize logging in case it was requested at the command line.\n        '
    if self.logappend:
        self.magic(('logstart %s append' % self.logappend))
    elif self.logfile:
        self.magic(('logstart %s' % self.logfile))
    elif self.logstart:
        self.magic('logstart')
Initialize logging in case it was requested at the command line.
def init_logstart(self):
    '\n        '
    if self.logappend:
        self.magic(('logstart %s append' % self.logappend))
    elif self.logfile:
        self.magic(('logstart %s' % self.logfile))
    elif self.logstart:
        self.magic('logstart')