This function takes the following parameters:
The ID of the module to be modified.
The new logging level for the module.