Added metrics logging configuration option