support znc default log file

add test case
fix extracting date from filename