Change Error messages of root domain
find . -name "*.cpp" -exec sed -i 's/Utils::logger(\"root\") << Priority::ERROR <</cErrorDom(\"root\") << /g' {} \;
Change Critical messages of roo logdomain

find . -name "*.cpp" -exec sed -i 's/Utils::logger(\"root\") << Priority::CRIT <</cCriticalDom(\"root\") << /g' {} \;
Change Debug messages of root logdomain
find . -name "*.cpp" -exec sed -i 's/Utils::logger(\"root\") << Priority::DEBUG <</cDebugDom(\"root\") << /g' {} \;
Use the right domain for this message
Change debug messages of network logdomain
find . -name "*.cpp" -exec sed -i 's/Utils::logger(\"network\") << Priority::DEBUG <</cDebugDom(\"network\") <</g' {} \;
Change Critical messages of networg logdomain
find . -name "*.cpp" -exec sed -i 's/Utils::logger(\"network\") << Priority::CRIT/cCriticalDom(\"network\")/g' {} \;
More changes in network logdomain
Change input logdomain
Changes in output logdomain
Changes in wago logdomain
Change logdomain for poll_listener
Change rule logdomain