You can automate it:
Input_select:
logging_level:
name: Logging Level
options:
- 'error'
- 'warning'
- 'info'
- 'debug'
Automation:
- id: logging_level
alias: 'Logging Level'
initial_state: true
trigger:
platform: state
entity_id: input_select.logging_level
action:
service: logger.set_default_level
data_template:
level: "{{ trigger.to_state.state }}"