Add logging API, testing of Salt integration.