In L4LoggerNameMatchFilter initWithAcceptOnMatch the aString should be copied to stringToMatch not assigned.
stringToMatch = [aString copy];