aboutsummaryrefslogtreecommitdiffstats
path: root/modules/log_json.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log_json.cpp')
-rw-r--r--modules/log_json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log_json.cpp b/modules/log_json.cpp
index 35a41d156..ca6c11240 100644
--- a/modules/log_json.cpp
+++ b/modules/log_json.cpp
@@ -155,7 +155,7 @@ public:
Log::MethodPtr Create(const std::shared_ptr<ConfigTag>& tag) override
{
- return std::make_shared<JSONMethod>(name, file, 1, false);
+ return std::make_shared<JSONMethod>(this->service_name, file, 1, false);
}
};