- add main process ID to file named .pid
- introduce command line log-http2file
- options and arguments management
Usage: log-http2file [options] <outputfile>
Options:
-h, --help output usage information
-V, --version output the version number
-w, --workers <n> how many listening workers
-p, --port <n> listening port
- manage signal SIGHUP (close output file, rename output file and restart workers)
- manage signals SIGINT, SIGTERM and SIGBREAK
- manage string message and JSON data
- include remote info (user, agent, address) in JSON data
- Fix HTTP response