From 4998ba88661c348fd9d4933ed00a791e9d062220 Mon Sep 17 00:00:00 2001 From: riku6460 <17585784+riku6460@users.noreply.github.com> Date: Thu, 12 Dec 2019 00:39:59 +0900 Subject: [PATCH] Fix #5424 (#5604) --- src/services/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/logger.ts b/src/services/logger.ts index 897009715..0e26e80ed 100644 --- a/src/services/logger.ts +++ b/src/services/logger.ts @@ -93,7 +93,7 @@ export default class Logger { level === 'info' ? this.syslogClient.info : null as never; - send(message); + send.bind(this.syslogClient)(message); } else { const Logs = getRepository(Log); Logs.insert({