Home / Expert Answers / Computer Science / you-want-to-configure-the-log-at-the-info-level-and-save-it-in-the-application-log-file-with-log-inf-pa662

(Solved): You want to configure the log at the info level and save it in the application.log file with log inf ...



You want to configure the log at the info level and save it in the application.log file with log information "Hello! This is an application log". Which of the following commands will you use?This type of question contains radio buttons and checkboxes for selection of options. Use Tab for navigation and Enter or space to select the option.optionA>>> logging.basicConfig(filename='application.log', level=logging.DEBUG)>>> logging.info('Hello! This is an application log')optionBINFO:root:Hello! This is an application logoptionClog.addHandler(logging.handlers.SysLogHandler(address='/dev/log'))optionD>>> logging.basicConfig(format='%(asctime)s %(message)s')



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe