Following catch test naming standards.
diff --git a/proxy/logging/LogConfig.cc b/proxy/logging/LogConfig.cc
index 816206d..77e8926 100644
--- a/proxy/logging/LogConfig.cc
+++ b/proxy/logging/LogConfig.cc
@@ -616,8 +616,7 @@
         //
         // then check if the candidate belongs to any given log type
         //
-        std::string_view rolled_filename(entry->d_name, strlen(entry->d_name));
-        auto iter = deleting_info.find(LogUtils::get_unrolled_filename(rolled_filename));
+        auto iter = deleting_info.find(LogUtils::get_unrolled_filename(entry->d_name));
         if (iter == deleting_info.end()) {
           // We won't delete the log if its name doesn't match any give type.
           continue;
diff --git a/proxy/logging/unit-tests/test_LogUtils2.cc b/proxy/logging/unit-tests/test_LogUtils2.cc
index 70ccf6f..d50a89b 100644
--- a/proxy/logging/unit-tests/test_LogUtils2.cc
+++ b/proxy/logging/unit-tests/test_LogUtils2.cc
@@ -131,7 +131,7 @@
 {
 }
 
-TEST_CASE("LogUtilsUnrolled", "get_unrolled_filename")
+TEST_CASE("get_unrolled_filename parses possible log files as expected", "[get_unrolled_filename]")
 {
   // Rolled log inputs.
   constexpr ts::TextView with_underscore = "squid.log_some.hostname.com.20191029.18h15m02s-20191029.18h30m02s.old";