logging utilities for nginx written in lua