This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new 5ef37c2e6a Fix ttmsh log field (#9722)
5ef37c2e6a is described below

commit 5ef37c2e6aeda76418df57886a3c47dc23e8ba7b
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Sat May 20 06:02:10 2023 +0900

    Fix ttmsh log field (#9722)
    
    (cherry picked from commit 14d1cc6b8633ff41944c8480b70505b5e3dad352)
---
 proxy/logging/Log.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/logging/Log.cc b/proxy/logging/Log.cc
index df0c78049c..56530c79df 100644
--- a/proxy/logging/Log.cc
+++ b/proxy/logging/Log.cc
@@ -885,10 +885,10 @@ Log::init_fields()
   global_field_list.add(field, false);
   field_symbol_hash.emplace("ttms", field);
 
-  field = new LogField("transfer_time_ms_hex", "ttmh", LogField::sINT, 
&LogAccess::marshal_transfer_time_ms,
+  field = new LogField("transfer_time_ms_hex", "ttmsh", LogField::sINT, 
&LogAccess::marshal_transfer_time_ms,
                        &LogAccess::unmarshal_int_to_str_hex);
   global_field_list.add(field, false);
-  field_symbol_hash.emplace("ttmh", field);
+  field_symbol_hash.emplace("ttmsh", field);
 
   field = new LogField("transfer_time_ms_fractional", "ttmsf", LogField::sINT, 
&LogAccess::marshal_transfer_time_ms,
                        &LogAccess::unmarshal_ttmsf);

Reply via email to