I'm happy to announce that Perspectives Server version 3.5 has been released!
This update adds a --logfile switch to control proper output to log files, and places a limit on how large log files can grow. This fixes a longstanding issue that has prevented the default notaries from remaining stable long-term.
This update also fixes a threading issue with the scanner, and performs a lot of code cleanup and refactoring.
With this update complete we are all set to bring the default notaries back online (and hopefully add https as well).
This update contains no data changes, only code changes, so upgrading is easy:
1. Stop your server
2. Sync new code with 'git pull'
3. Start your server.
These steps have also been included in the doc/upgrades directory.
As always, if you have any questions or comments just ask!
Full changelog
---
3.5
-----
+ Add --logfile switch for scanner and server to handle logging to a file on disk.
This lets us limit how much disk space is used for logging, so it doesn't run out of control.
* Change default admin scripts to use new --logfile switch
* Clean up admin scripts
* Fix multiple sources of logging, printing, and traceback to use logging module
* Fix print statements to use print function
* Fix threading bug with scanner: properly lock objects when recording scan results
* Organize unit tests: use one test module for each code module being tested
This makes it much easier to see what is being tested.
* Convert old-style classes to new-style classes
* Add missing license header
* Determine whether sockets block based on OS (nonblocking sockets don't work on Windows)
* Remove some global variables and state from threaded_scanner
* Fix list_services code to be testable, and add minimal tests
* Minor code formatting and whitespace cleanup
* Add some docstrings and documentation