[ejabberd] log rotation

Victor Sudakov vas at mpeks.tomsk.su
Sun Sep 10 07:55:45 MSK 2017

Dear Colleagues,

I see that the ejabberd log is always open by the "beam" process:

$ fstat /var/log/ejabberd/ejabberd.log USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME
ejabberd beam       51578   11 /        9229454 -rw-r--r--  4074468  w /var/log/ejabberd/ejabberd.log

When I want to rotate this log with newsyslog(8), how do I signal
ejabberd/beam to reopen the log? I don't see any pid file in
/var/run/, so what's the procedure?

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN

More information about the ejabberd mailing list