Add configurable logging
Include log name when outputting to log