Mercurial > kallithea
comparison development.ini @ 6377:d89d586b26ae
Merge stable
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 24 Dec 2016 00:34:38 +0100 |
parents | f973b866fffc b4dd4c16c12d |
children | 2c3d30095d5e |
comparison
equal
deleted
inserted
replaced
6376:dc94e662ee74 | 6377:d89d586b26ae |
---|---|
389 ############################ | 389 ############################ |
390 ## ERROR HANDLING SYSTEMS ## | 390 ## ERROR HANDLING SYSTEMS ## |
391 ############################ | 391 ############################ |
392 | 392 |
393 #################### | 393 #################### |
394 ### [errormator] ### | 394 ### [appenlight] ### |
395 #################### | 395 #################### |
396 | 396 |
397 ## Errormator is tailored to work with Kallithea, see | 397 ## AppEnlight is tailored to work with Kallithea, see |
398 ## http://errormator.com for details how to obtain an account | 398 ## http://appenlight.com for details how to obtain an account |
399 ## you must install python package `errormator_client` to make it work | 399 ## you must install python package `appenlight_client` to make it work |
400 | 400 |
401 ## errormator enabled | 401 ## appenlight enabled |
402 errormator = false | 402 appenlight = false |
403 | 403 |
404 errormator.server_url = https://api.errormator.com | 404 appenlight.server_url = https://api.appenlight.com |
405 errormator.api_key = YOUR_API_KEY | 405 appenlight.api_key = YOUR_API_KEY |
406 | 406 |
407 ## TWEAK AMOUNT OF INFO SENT HERE | 407 ## TWEAK AMOUNT OF INFO SENT HERE |
408 | 408 |
409 ## enables 404 error logging (default False) | 409 ## enables 404 error logging (default False) |
410 errormator.report_404 = false | 410 appenlight.report_404 = false |
411 | 411 |
412 ## time in seconds after request is considered being slow (default 1) | 412 ## time in seconds after request is considered being slow (default 1) |
413 errormator.slow_request_time = 1 | 413 appenlight.slow_request_time = 1 |
414 | 414 |
415 ## record slow requests in application | 415 ## record slow requests in application |
416 ## (needs to be enabled for slow datastore recording and time tracking) | 416 ## (needs to be enabled for slow datastore recording and time tracking) |
417 errormator.slow_requests = true | 417 appenlight.slow_requests = true |
418 | 418 |
419 ## enable hooking to application loggers | 419 ## enable hooking to application loggers |
420 #errormator.logging = true | 420 #appenlight.logging = true |
421 | 421 |
422 ## minimum log level for log capture | 422 ## minimum log level for log capture |
423 #errormator.logging.level = WARNING | 423 #appenlight.logging.level = WARNING |
424 | 424 |
425 ## send logs only from erroneous/slow requests | 425 ## send logs only from erroneous/slow requests |
426 ## (saves API quota for intensive logging) | 426 ## (saves API quota for intensive logging) |
427 errormator.logging_on_error = false | 427 appenlight.logging_on_error = false |
428 | 428 |
429 ## list of additional keywords that should be grabbed from environ object | 429 ## list of additional keywords that should be grabbed from environ object |
430 ## can be string with comma separated list of words in lowercase | 430 ## can be string with comma separated list of words in lowercase |
431 ## (by default client will always send following info: | 431 ## (by default client will always send following info: |
432 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that | 432 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that |
433 ## start with HTTP* this list be extended with additional keywords here | 433 ## start with HTTP* this list be extended with additional keywords here |
434 errormator.environ_keys_whitelist = | 434 appenlight.environ_keys_whitelist = |
435 | 435 |
436 ## list of keywords that should be blanked from request object | 436 ## list of keywords that should be blanked from request object |
437 ## can be string with comma separated list of words in lowercase | 437 ## can be string with comma separated list of words in lowercase |
438 ## (by default client will always blank keys that contain following words | 438 ## (by default client will always blank keys that contain following words |
439 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf' | 439 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf' |
440 ## this list be extended with additional keywords set here | 440 ## this list be extended with additional keywords set here |
441 errormator.request_keys_blacklist = | 441 appenlight.request_keys_blacklist = |
442 | 442 |
443 ## list of namespaces that should be ignores when gathering log entries | 443 ## list of namespaces that should be ignores when gathering log entries |
444 ## can be string with comma separated list of namespaces | 444 ## can be string with comma separated list of namespaces |
445 ## (by default the client ignores own entries: errormator_client.client) | 445 ## (by default the client ignores own entries: appenlight_client.client) |
446 errormator.log_namespace_blacklist = | 446 appenlight.log_namespace_blacklist = |
447 | 447 |
448 ################ | 448 ################ |
449 ### [sentry] ### | 449 ### [sentry] ### |
450 ################ | 450 ################ |
451 | 451 |