Added init function to appender. This fixes ir_snprintf, since the