def index(config, include_message=False):
state = State(config=config)<EOL>logger.debug("<STR_LIT>")<EOL>logger.info("<STR_LIT>")<EOL>logger.info(f"<STR_LIT>")<EOL>logger.info(f"<STR_LIT>")<EOL>logger.info(f"<STR_LIT>")<EOL>logger.info("<STR_LIT>")<EOL>logger.info("<STR_LIT>")<EOL>data = []<EOL>for archiver in state.archivers:<EOL><INDENT>for rev in state.index[archiver].revisions:<EOL><INDENT>if include_message:<EOL><INDENT>data.append(<EOL>(<EOL>format_revision(rev.revision.key),<EOL>rev.revision.author_name,<EOL>rev.revision.message[:MAX_MESSAGE_WIDTH],<EOL>format_date(rev.revision.date),<EOL>)<EOL>)<EOL><DEDENT>else:<EOL><INDENT>data.append(<EOL>(<EOL>format_revision(rev.revision.key),<EOL>rev.revision.author_name,<EOL>format_date(rev.revision.date),<EOL>)<EOL>)<EOL><DEDENT><DEDENT><DEDENT>if include_message:<EOL><INDENT>headers = ("<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>headers = ("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL><DEDENT>print(<EOL>tabulate.tabulate(<EOL>headers=headers, tabular_data=data, tablefmt=DEFAULT_GRID_STYLE<EOL>)<EOL>)<EOL>
Show information about the cache and runtime.

:param config: The wily configuration
:type  config: :namedtuple:`wily.config.WilyConfig`

:param include_message: Include revision messages
:type  include_message: ``bool``