logging has regex option