
filename_regex = r'(?:[a-z]+_)#(?P<channel>[a-z]+)_(?P<date>\d{8}).log'

channel_regex_group = 1
date_regex_group = 2
date_format = r'%Y%m%d'

filename_regex = r'#?(?P<channel>[a-z]+)_(?P<date>\d{8}).log'

# the format of the date content in the matched filename.
# must follow python's datetime.strptime() format, as defined at
# http://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
filename_date_format = r'%Y%m%d'

Clean up and document default config values
Clean up and document default config values

+ filename_regex = r'#?(?P<channel>[a-z]+)_(?P<date>\d{8}).log'
  
- filename_regex = r'(?:[a-z]+_)#(?P<channel>[a-z]+)_(?P<date>\d{8}).log'
+ # the format of the date content in the matched filename.
+ # must follow python's datetime.strptime() format, as defined at
+ # http://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
+ filename_date_format = r'%Y%m%d'
  
- channel_regex_group = 1
- date_regex_group = 2
- date_format = r'%Y%m%d'
- 
Clean up and document default config values
## Code Before:

filename_regex = r'(?:[a-z]+_)#(?P<channel>[a-z]+)_(?P<date>\d{8}).log'

channel_regex_group = 1
date_regex_group = 2
date_format = r'%Y%m%d'

## Instruction:
Clean up and document default config values
## Code After:
filename_regex = r'#?(?P<channel>[a-z]+)_(?P<date>\d{8}).log'

# the format of the date content in the matched filename.
# must follow python's datetime.strptime() format, as defined at
# http://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
filename_date_format = r'%Y%m%d'
