- added log function
- harden creating log function
Delete the no-encryption flag.