diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-10 20:53:22 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-10 21:12:13 +0000 |
commit | 3424122c9d082d53e8c437066d34cf602380a69c (patch) | |
tree | 85bd4b9503d3a903a55996c3c646f0c4c28195f8 /src/lua | |
parent | 7630467d757c27fab944cda366e78ac82d45ff55 (diff) | |
download | rspamd-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.c | 2 |
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) { |