execute: Drop log level to unit log level in exec_spawn()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 31 Jul 2024 11:11:51 +0000 (13:11 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 31 Jul 2024 11:12:55 +0000 (13:12 +0200)
commit7881f485c9f57b1c7de4308eeab54458890c5c19
tree8c752215b83b23918da4eba05f9e3616faa8be56
parentb56920e36c5692c0dde701bfb48330653a9c62c9
execute: Drop log level to unit log level in exec_spawn()

All messages logged from exec_spawn() are attributed to the unit
and as such we should set the log level to the unit's max log level
for the duration of the function.
src/basic/log.c
src/basic/log.h
src/core/execute.c