Skip to content

Run an IOC server without the ioc_arg_parser function #835

Answered by tacaswell
wigging asked this question in Q&A
Discussion options

You must be logged in to vote

The logger handlers are set up at

def split_args(args) -> Tuple[Dict[str, Any], Dict[str, Any]]:
"""
Helper function to pull the standard information out of the
parsed args.
Returns
-------
ioc_options : dict
kwargs to be handed into the IOC init.
run_options : dict
kwargs to be handed to run
"""
if args.verbose:
if args.verbose > 1:
set_handler(level='DEBUG')
else:
_set_handler_with_logger(logger_name='caproto.ctx', level='DEBUG')
_set_handler_with_logger(logger_name='caproto.circ', level='INFO')
elif args.quiet

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wigging
Comment options

Answer selected by wigging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants