diff --git a/README.md b/README.md index 0ff3b8ec..11dcde8b 100755 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ L.vectorGrid [deck.gl](https://deck.gl/) is a WebGL-powered framework for visual exploratory data analysis of large datasets. You can add vector tiles using [MVTLayer](https://deck.gl/docs/api-reference/geo-layers/mvt-layer). MVTLayer `data` property defines the remote data for the MVT layer. It can be -* `String`: Either a URL template or a [TileJSON](https://github.com/mapbox/tilejson-spec) URL. +* `String`: Either a URL template or a [TileJSON](https://github.com/mapbox/tilejson-spec) URL. * `Array`: an array of URL templates. It allows to balance the requests across different tile endpoints. For example, if you define an array with 4 urls and 16 tiles need to be loaded, each endpoint is responsible to server 16/4 tiles. * `JSON`: A valid [TileJSON object](https://github.com/mapbox/tilejson-spec/tree/master/2.2.0). @@ -575,10 +575,17 @@ cd ./target/release/ Log levels are controlled on a per-module basis, and by default all logging is disabled except for errors. Logging is controlled via the `RUST_LOG` environment variable. The value of this environment variable is a comma-separated list of logging directives. -This will enable verbose logging for the `actix_web` module and enable debug logging for the `martin` and `postgres` modules: +This will enable debug logging for all modules: ```shell -export RUST_LOG=actix_web=info,martin=debug,postgres=debug +export RUST_LOG=debug +martin postgres://postgres@localhost/db +``` + +While this will only enable verbose logging for the `actix_web` module and enable debug logging for the `martin` and `tokio_postgres` modules: + +```shell +export RUST_LOG=actix_web=info,martin=debug,tokio_postgres=debug martin postgres://postgres@localhost/db ``` diff --git a/docker-compose.yml b/docker-compose.yml index 6a7ff590..f3f2af8b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,7 @@ services: environment: - WATCH_MODE=true - DATABASE_URL=postgres://postgres@db/db + - RUST_LOG=actix_web=info,martin=debug,tokio_postgres=debug depends_on: - db