linux - Facebook-Scribe creating directories which are no longer needed -


i using facebook scribe logging data remote files. scribe seems remember file paths has seen far.

e.g., pattern old_directory_pattern/old_file_pattern.log, has been changed to: new_directory_pattern/new_file_pattern.log.

i deleted old directories , started logging in new pattern. but, saw strange, scribe creating both old_directory_pattern/old_file_pattern.log , new_directory_pattern/new_file_pattern.log.

the difference was, in old pattern, files empty , in new files contained data. scribe continued rotation of files in both old , new directories. may because scribe storing files information. thinking in these lines, thought of restarting scribe, didn't either.

please me this. i not want files old pattern created, no 1 writing in files, empty files, scribe creating , rotating them every hour.

i don't find problems logging. but, sharing scribe config, in case there parameter needs set/unset:

port=1464 max_msg_per_second=2000000 check_interval=3  <store>     category=new_*     type=buffer      target_write_size=20480     max_write_interval=1     buffer_send_rate=2     retry_interval=30     retry_interval_range=10      <primary>             type=file             fs_type=std             file_path=/var/log             max_size=1000000000             add_newlines=0             rotate_period=hourly             rotate_hour=0             rotate_minute=1     </primary>      <secondary>             type=file             fs_type=std             file_path=/var/log_temp             max_size=1000000000             add_newlines=0             rotate_period=hourly             rotate_hour=0             rotate_minute=1     </secondary> </store> 


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -