Log server state

Report a typo

You have an application that tries to connect to a server. You want to log the changes on the server state. Complete the following example with the most appropriate log level.

def start_service():
    logger._____('Starting service at port %s ...', port)
    service.start()
    logger._____('Service is started')
Enter a short text
___

Create a free account to access the full topic