comparison sat/core/constants.py @ 2975:d86ecc34516e

logs: increased defaut limit for memory output to 300
author Goffi <goffi@goffi.org>
date Sun, 30 Jun 2019 15:40:52 +0200
parents 2464b3531f68
children 94708a7d3ecf
comparison
equal deleted inserted replaced
2974:2464b3531f68 2975:d86ecc34516e
372 LOG_OPT_FORMAT = ("fmt", "%(message)s") # similar to logging format. 372 LOG_OPT_FORMAT = ("fmt", "%(message)s") # similar to logging format.
373 LOG_OPT_LOGGER = ("logger", "") # regex to filter logger name 373 LOG_OPT_LOGGER = ("logger", "") # regex to filter logger name
374 LOG_OPT_OUTPUT_SEP = "//" 374 LOG_OPT_OUTPUT_SEP = "//"
375 LOG_OPT_OUTPUT_DEFAULT = "default" 375 LOG_OPT_OUTPUT_DEFAULT = "default"
376 LOG_OPT_OUTPUT_MEMORY = "memory" 376 LOG_OPT_OUTPUT_MEMORY = "memory"
377 LOG_OPT_OUTPUT_MEMORY_LIMIT = 50 377 LOG_OPT_OUTPUT_MEMORY_LIMIT = 300
378 LOG_OPT_OUTPUT_FILE = "file" # file is implicit if only output 378 LOG_OPT_OUTPUT_FILE = "file" # file is implicit if only output
379 LOG_OPT_OUTPUT = ( 379 LOG_OPT_OUTPUT = (
380 "output", 380 "output",
381 LOG_OPT_OUTPUT_SEP + LOG_OPT_OUTPUT_DEFAULT, 381 LOG_OPT_OUTPUT_SEP + LOG_OPT_OUTPUT_DEFAULT,
382 ) # //default = normal output (stderr or a file with twistd), path/to/file for a file (must be the first if used), //memory for memory (options can be put in parenthesis, e.g.: //memory(500) for a 500 lines memory) 382 ) # //default = normal output (stderr or a file with twistd), path/to/file for a file (must be the first if used), //memory for memory (options can be put in parenthesis, e.g.: //memory(500) for a 500 lines memory)