Skip to content

Tags: fooinha/nginx-json-log

Tags

v0.0.8

Toggle v0.0.8's commit message
ngx-json-log: 0.0.8 release

* major rewrite to a single src file
  * version 0.0.8
  * correct request body and response headers handling
  * remove err_ logging
  * encoding operations
  * update documentation
  * travis migration
  * build with unbuntu focal

v0.0.7

Toggle v0.0.7's commit message
ngx-json-log: fixes #40

v0.0.6

Toggle v0.0.6's commit message
ngx-json-log: 0.0.6 release

    * hexdump variables
       * $http_json_log_req_body_hexdump
       * $http_json_err_log_req_hexdump
    * $ngx_stream_json_log_payload variable
    * log formats moved to main config
    * more info while fail to log to file
    * fix compilation without stream support
    * fix compilation with libjansson < 2.7.0
    * arrays zero memory
    * kafka bug fixing
    * kafka feature check at configure
    * code style fixes
    * alpine docker and kafka edege update

v0.0.5

Toggle v0.0.5's commit message
ngx-json-log: 0.0.5 release

* rename to ngx-json-log
* json log for stream
* json log http bad requests
   * module: directives log_err_json_*
* kafka
   * msg-id from request_if if available
   * optional
* docker
   * development docker container -> debian
   * runtime docker container -> alpine
   * full log format configuration
   * elk services
* documentation
   *  mail log example

v0.0.4

Toggle v0.0.4's commit message
ngx-http-log-json: 0.0.4 release

module: variable $http_log_json_req_headers;

Creates a json object with all request headers.

Example:

```
"req": {
    "headers": {
        "Host": "localhost",
        "User-Agent": "curl/7.52.1",
        "Accept": "*/*"
    }
}
```

----

module: variable $http_log_json_req_body;

Log request body encoded as base64.
It requires proxy_pass configuration at logging location.

Example:

```
"req": {
    "body": "Zm9v"
}
```
----

module: location directive http_log_json_req_body_limit 512;

Default limit is 512 bytes.

Argument is a size string. May be 1k or 1M, but avoid this!

----

module: variable $http_log_json_resp_headers;

    Creates a json object with available response headers.

    Example:

    ```
    resp": {
    "headers": {
      "Last-Modified": "Sat, 01 Apr 2017 13:34:28 GMT",
      "ETag": "\"58dfac64-12\"",
      "X-Foo": "bar",
      "Accept-Ranges": "bytes"
    }
    ```

----

v0.0.3

Toggle v0.0.3's commit message
ngx-http-log-json: 0.0.3 release

config: allow to write to multiple destination with different formats
config: http_log_json_format and http_log_json_output directives
module: significant overhaul for hiding json implementation
module: re-factoring for allowing multiple destination/format
docker: image for development
docker: compose services with kafka and zookeeper

v0.0.2

Toggle v0.0.2's commit message
Release v0.0.2

nginx: upgrade to nginx 1.11.10 support

module: rename to formal name ngx_http_log_json
module: parse recipe with pcre regex
module: refactoring functions

config: support array values
config: support literal boolean values
config: support literal null values
config: if condition argument

tests: initial unit tests

build: travis integration

v0.0.1

Toggle v0.0.1's commit message
Release v0.0.1