Commits

Jason R. Coombs committed ab68aa6

Log config when starting up.

Comments (0)

Files changed (1)

 import argparse
 import logging
 import itertools
+import pprint
 
 import irc.bot
 import irc.client
 
 	channels = config.log_channels + config.other_channels
 
+	log.info('Running with config')
+	log.info(pprint.pformat(config))
+
 	return class_(config.database, config.server_host, config.server_port,
 		config.bot_nickname, channels=channels, password=config.password)