<commit_before>Scalyr Agent 2 Changes By Release
=================================

## 2.1.13 "TBD" - October 17, 2020

<!---
Packaged by <NAME> <<EMAIL>> on Oct 17, 2020 19:00 -0800
--->

Bug fixes:
* Fix ``scalyr-agent-2 status`` command and make sure it doesn't result in an non-fatal error in the agent process and the command itself when running status command multiple times concurrently or in a short time frame.
* Fix ``scalyr-agent-status`` command and make sure config override warning is not logged to stdout when running this command since it may interfere with consumers of the status command output.
* Fix merging of active-checkpoints.json and checkpoints.json checkpoint file data. Previously data from active checkpoints file was not correctly merged into full checkpoint data file which means that under some scenarios (e.g. agent crashed after active checkpoint file was written, but before full checkpoint file was written), data which was already sent to the server could be sent twice. Actual time window when this could happen was relatively small since full checkpoint data is written out every 60 seconds by default. Reported by @anton-ryzhov. #638

## 2.1.12 "Betelgeuze" - September 17, 2020

<!---
Packaged by <NAME> <<EMAIL>> on Sep 17, 2020 19:00 -0800
--->

Mics:
* Upgrade `psutil` dependency which incorporates many critical fixes. As part of the change, Windows Server 2003/XP is no longer supported.
* Small fix for the `pywin32` library which is used in the Windows package.

## 2.1.11 "Aqua" - August 21, 2020

<!---
Packaged by <NAME> <<EMAIL>> on Aug 21, 2020 19:00 -0800
--->

Features:
* Add new ``win32_max_open_fds`` configuration option which allows user to overwrite maximum open file limit on Windows for the scalyr agent process.
<commit_msg>Update CHANGELOG.md for Celaeno October 15, 2020 agent release (#640)<commit_after>Scalyr Agent 2 Changes By Release
=================================

## 2.1.13 "Celaeno" - October 15, 2020

<!---
Packaged by <NAME> <<EMAIL>> on Oct 17, 2020 19:00 -0800
--->

Bug fixes:
* Fix ``scalyr-agent-2 status`` command non-fatal error when running status command multiple times concurrently or in a short time frame.
* Fix ``scalyr-agent-status`` command to not log config override warning to stdout since it may interfere with consumers of the status command output.
* Fix merging of active-checkpoints.json and checkpoints.json checkpoint file data. Previously data from active checkpoints file was not correctly merged into full checkpoint data file which means that under some scenarios (e.g. agent crashed after active checkpoint file was written, but before full checkpoint file was written), data which was already sent to the server could be sent twice. Actual time window when this could happen was relatively small since full checkpoint data is written out every 60 seconds by default. Reported by @anton-ryzhov. #638
* Fix Postgres monitor error when specifying the Postgres ``database_port`` in the agent config.

## 2.1.12 "Betelgeuze" - September 17, 2020

<!---
Packaged by <NAME> <<EMAIL>> on Sep 17, 2020 19:00 -0800
--->

Mics:
* Upgrade `psutil` dependency which incorporates many critical fixes. As part of the change, Windows Server 2003/XP is no longer supported.
* Small fix for the `pywin32` library which is used in the Windows package.

## 2.1.11 "Aqua" - August 21, 2020

<!---
Packaged by <NAME> <<EMAIL>> on Aug 21, 2020 19:00 -0800
--->

Features:
* Add new ``win32_max_open_fds`` configuration option which allows user to overwrite maximum open file limit on Windows for the scalyr agent process.

{'fraction_non_alphanumeric': 0.096398891966759, 'fraction_numerical': 0.05069252077562327, 'mean_word_length': 4.333825701624815, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3455366', 'n_tokens_mistral': 1134, 'n_tokens_neox': 943, 'n_words': 513}