more logging properties and exception handles for metrics