Change log level for AMF function call to ERROR instead of CRITICAL #89