Not sure if this is the solution but passing thisAppender as an attribute seems to resolve the error…
// Thread this puppy
thread action=“run” name="#threadName#" logEvent="#logEvent#" thisAppender="#thisAppender#"{
attributes.thisAppender.logMessage( attributes.logEvent );
}