[det]http_log_close(+Reason)If there is a currently open HTTP logfile, close it after adding a term server(Reason, Time)
.
to the logfile. This call is intended for cooperation with the Unix
logrotate facility using the following schema:
- Move logfile (the HTTP server keeps writing to the moved file)
- Inform the server using an HTTP request that calls
http_log_close/1
- Compress the moved logfile
- author
- Suggested by Jacco van Ossenbruggen