GEODE-8929: fix 'leaked disk space' issue in logger (#743)

- Logger wasn't calculating the size of existing files when
  initializing.  Thus the disk usage could grow by up to the space limit
  set by the app at each iteration (run).
- Added new test to start/stop logger several times and verify we're
  never exceeding disk space limits in toto.
- passing nullptr for file name to Log::Init() wasn't writing to a
  default file, now it writes to 'geode-native.log' in CWD.
- logging test for (#) in filename wasn't cleaning up its log file
- added test code to clean up any default-named log files
- Run all unit tests with "test" filename, and with default filename
  (geode-native.log)
- Add specific case to check for "leaked" disk space when specifying
  nullptr to get the default file name.
3 files changed
tree: acfb352a0e2a08f4932da4182c061e24c41d5734
  1. bin/
  2. clicache/
  3. cmake/
  4. cppcache/
  5. defaultSystem/
  6. dependencies/
  7. dist/
  8. docker/
  9. docs/
  10. etc/
  11. examples/
  12. executables/
  13. packer/
  14. sni-test-config/
  15. sqliteimpl/
  16. ssl_keys/
  17. templates/
  18. tests/
  19. tools/
  20. xsds/
  21. .asf.yaml
  22. .clang-format
  23. .clang-tidy
  24. .cpackignore
  25. .gitignore
  26. .lcovrc
  27. .lgtm.yml
  28. .ratignore
  29. .travis.yml
  30. BUILDING.md
  31. CMakeLists.txt
  32. CONTRIBUTING.md
  33. FindNativeClient.cmake
  34. FindNativeClientCPPCache.cmake
  35. LICENSE
  36. NOTICE
  37. README.md
README.md

Build Status License Total alerts Language grade: C/C++ Language grade: C# Language grade: JavaScript

Overview
Building from Source
Application Development

Overview

Native Client is a client implementation for Apache Geode that does not require the Java server JARs.

Building from Source

Directions to build Native Client from source can be found in the source distribution in BUILDING.md.

Application Development

Native Client applications can be written in these client technologies:

Export Control

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

The following provides more details on the included cryptographic software:

  • Apache Geode links to and uses OpenSSL ciphers.