diff --git a/src/ServerPrivate.cc b/src/ServerPrivate.cc
index 83b97363e6..a5edc23f40 100644
--- a/src/ServerPrivate.cc
+++ b/src/ServerPrivate.cc
@@ -47,9 +47,7 @@ struct LoggingPlugin
/// \return A string that contains the record plugin file name.
public: static std::string &LoggingPluginFileName()
{
- static std::string recordPluginFileName =
- std::string("gz-sim") +
- GZ_SIM_MAJOR_VERSION_STR + "-log-system";
+ static std::string recordPluginFileName = "gz-sim-log-system";
return recordPluginFileName;
}
diff --git a/src/SystemLoader_TEST.cc b/src/SystemLoader_TEST.cc
index 6550e2b233..189dab3286 100644
--- a/src/SystemLoader_TEST.cc
+++ b/src/SystemLoader_TEST.cc
@@ -44,11 +44,9 @@ TEST(SystemLoader, Constructor)
sdf::Root root;
root.LoadSdfString(std::string(""
"") +
- ""
- ""
""
@@ -198,10 +196,9 @@ TEST(SystemLoader, BadPluginName)
sdf::Root root;
root.LoadSdfString(std::string(""
""
- ""
- "");
+ ""));
auto worldElem = root.WorldByIndex(0)->Element();
if (worldElem->HasElement("plugin")) {
diff --git a/test/test_config.hh.in b/test/test_config.hh.in
index 89118966c9..9c04235e98 100644
--- a/test/test_config.hh.in
+++ b/test/test_config.hh.in
@@ -51,17 +51,15 @@ struct TestWorldSansPhysics
""
" false"
""
- ""
""
""
""
""
- "";
+ "");
return world;
}
};