test regex for logger