Added new permission based service to logging.
Improved Bootstrap with conditional code for testing.