added classname as suggested in deprecation warning
added timestamp to diagnostics msg