def LOG_LEVEL(x):
 with context.local(log_level=x):
  context.defaults['log_level'] = context.log_level

def LOG_LEVEL ( x ) : with context . local ( log_level = x ) : context . defaults [ 'log_level' ] = context . log_level
sets the logging verbosity used via context .