Switch remaining logs to lg2

Since cb267c8 ("logging: switch to lg2"), service-config-manager has
switched to using lg2 for logging, but there are still some old-style
phosphor::logging::log calls. Change them to lg2.

Tested:
Build pass.

Change-Id: I2702e3d57b8f4b9e411c8f20f3f33329e70c8b23
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
diff --git a/src/srvcfg_manager.cpp b/src/srvcfg_manager.cpp
index 36857b8..dab6316 100644
--- a/src/srvcfg_manager.cpp
+++ b/src/srvcfg_manager.cpp
@@ -65,8 +65,7 @@
     {
         if (std::filesystem::exists(emptyUsbCodeUpdateRulesFile))
         {
-            phosphor::logging::log<phosphor::logging::level::INFO>(
-                "Enable usb code update");
+            lg2::info("Enable usb code update");
             std::filesystem::remove(emptyUsbCodeUpdateRulesFile);
         }
         return;
@@ -82,12 +81,10 @@
                                     ec);
     if (ec)
     {
-        phosphor::logging::log<phosphor::logging::level::ERR>(
-            "Disable usb code update failed");
+        lg2::error("Disable usb code update failed");
         return;
     }
-    phosphor::logging::log<phosphor::logging::level::INFO>(
-        "Disable usb code update");
+    lg2::info("Disable usb code update");
 }
 
 void ServiceConfig::saveUSBCodeUpdateStateToFile(const bool& maskedState,
@@ -111,8 +108,7 @@
 {
     if (!std::filesystem::exists(usbCodeUpdateStateFile))
     {
-        phosphor::logging::log<phosphor::logging::level::INFO>(
-            "usb-code-update-state file does not exist");
+        lg2::info("usb-code-update-state file does not exist");
 
         unitMaskedState = false;
         unitEnabledState = true;
@@ -624,8 +620,7 @@
                 {
                     if (unitMaskedState)
                     { // block updating if masked
-                        phosphor::logging::log<phosphor::logging::level::ERR>(
-                            "Invalid value specified");
+                        lg2::error("Invalid value specified");
                         return -EINVAL;
                     }
                     unitEnabledState = req;
@@ -675,8 +670,7 @@
                 {
                     if (unitMaskedState)
                     { // block updating if masked
-                        phosphor::logging::log<phosphor::logging::level::ERR>(
-                            "Invalid value specified");
+                        lg2::error("Invalid value specified");
                         return -EINVAL;
                     }
                     unitEnabledState = req;