Change Healthchecks logs truncation size from 10k bytes to 100k bytes, corresponding to that same change on Healthchecks.io.
This commit is contained in:
parent
0c027a3050
commit
e40e726687
2 changed files with 3 additions and 1 deletions
2
NEWS
2
NEWS
|
@ -2,6 +2,8 @@
|
||||||
* #516: Fix handling of TERM signal to exit borgmatic, not just forward the signal to Borg.
|
* #516: Fix handling of TERM signal to exit borgmatic, not just forward the signal to Borg.
|
||||||
* #517: Fix borgmatic exit code (so it's zero) when initial Borg calls fail but later retries
|
* #517: Fix borgmatic exit code (so it's zero) when initial Borg calls fail but later retries
|
||||||
succeed.
|
succeed.
|
||||||
|
* Change Healthchecks logs truncation size from 10k bytes to 100k bytes, corresponding to that
|
||||||
|
same change on Healthchecks.io.
|
||||||
|
|
||||||
1.5.24
|
1.5.24
|
||||||
* #431: Add "working_directory" option to support source directories with relative paths.
|
* #431: Add "working_directory" option to support source directories with relative paths.
|
||||||
|
|
|
@ -13,7 +13,7 @@ MONITOR_STATE_TO_HEALTHCHECKS = {
|
||||||
}
|
}
|
||||||
|
|
||||||
PAYLOAD_TRUNCATION_INDICATOR = '...\n'
|
PAYLOAD_TRUNCATION_INDICATOR = '...\n'
|
||||||
PAYLOAD_LIMIT_BYTES = 10 * 1024 - len(PAYLOAD_TRUNCATION_INDICATOR)
|
PAYLOAD_LIMIT_BYTES = 100 * 1024 - len(PAYLOAD_TRUNCATION_INDICATOR)
|
||||||
|
|
||||||
|
|
||||||
class Forgetful_buffering_handler(logging.Handler):
|
class Forgetful_buffering_handler(logging.Handler):
|
||||||
|
|
Loading…
Reference in a new issue