[Tarantool-patches] [PATCH v4 6/8] lua/log: use log module settings inside box.cfg

Cyrill Gorcunov gorcunov at gmail.com
Thu May 28 13:49:44 MSK 2020


On Thu, May 28, 2020 at 01:41:54PM +0300, Oleg Babin wrote:
> Hi! Thanks for your patch! Looks good but I still think that log prefixes
> are redundant. Is it possible to drop them?
> 
> E.g. yaml.cfg example (no "yaml_" prefixes):
> ```
> tarantool> require('yaml').cfg
> ---
> - encode_load_metatables: true
>   encode_invalid_numbers: true
>   encode_use_tostring: false
>   decode_max_depth: 128
>   encode_number_precision: 14
>   encode_sparse_convert: true
>   encode_max_depth: 128
>   decode_invalid_numbers: true
>   encode_sparse_ratio: 2
>   encode_invalid_as_nil: false
>   encode_sparse_safe: 10
>   encode_deep_as_nil: false
>   decode_save_metatables: true
> ...
> ```
> 
> ```
> tarantool> require('log').cfg
> ---
> - log_format: json
>   log_level: 1000
>   log_nonblock: false
> ...
> ```

Somehow managed to miss this comment in on of yours
previous replies, sorry. I'll take a look.


More information about the Tarantool-patches mailing list