def getXlogStatus(self):
inRecovery = None<EOL>if self.checkVersion('<STR_LIT>'):<EOL><INDENT>inRecovery = self._simpleQuery("<STR_LIT>")<EOL><DEDENT>cur = self._conn.cursor()<EOL>if inRecovery:<EOL><INDENT>cols = ['<STR_LIT>', <EOL>'<STR_LIT>',]<EOL>headers = ['<STR_LIT>',<EOL>'<STR_LIT>',]<EOL>if self.checkVersion('<STR_LIT>'):<EOL><INDENT>cols.extend(['<STR_LIT>',<EOL>'<STR_LIT>',])<EOL>headers.extend(['<STR_LIT>', <EOL>'<STR_LIT>',])<EOL><DEDENT>cur.execute("""<STR_LIT>""" % '<STR_LIT:U+002C>'.join(cols))<EOL>headers = ('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>cur.execute("""<STR_LIT>""")<EOL>headers = ('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>row = cur.fetchone()<EOL>info_dict = dict(zip(headers, row))<EOL>if inRecovery is not None:<EOL><INDENT>info_dict['<STR_LIT>'] = inRecovery<EOL><DEDENT>return info_dict<EOL>
Returns Transaction Logging or Recovery Status.

        @return: Dictionary of status items.