aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-10 20:53:22 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-10 21:12:13 +0000
commit3424122c9d082d53e8c437066d34cf602380a69c (patch)
tree85bd4b9503d3a903a55996c3c646f0c4c28195f8 /src/lua
parent7630467d757c27fab944cda366e78ac82d45ff55 (diff)
downloadrspamd-3424122c9d082d53e8c437066d34cf602380a69c.tar.gz
rspamd-3424122c9d082d53e8c437066d34cf602380a69c.zip
[Rework] Logger: Fix issues found so far
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_worker.c b/src/lua/lua_worker.c
index 17266ae96..4364a1b86 100644
--- a/src/lua/lua_worker.c
+++ b/src/lua/lua_worker.c
@@ -817,7 +817,7 @@ lua_worker_spawn_process (lua_State *L)
gint rc;
gchar inbuf[4];
- rspamd_log_update_pid (w->cf->type, w->srv->logger);
+ rspamd_log_on_fork (w->cf->type, w->srv->cfg, w->srv->logger);
rc = ottery_init (w->srv->cfg->libs_ctx->ottery_cfg);
if (rc != OTTERY_ERR_NONE) {