<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setup(options, **kwargs):

 	"""
 	Setup logging with options or arguments from an OptionParser or
 	ArgumentParser. Also pass any keyword arguments to the basicConfig
 	call.
 	"""

	params = dict(kwargs)
	params.update(level=options.log_level)
	logging.basicConfig(**params)