# Feature: Shouldn't Clobber oroccess\_bil

**URL:** <https://community.open-emr.org/t/feature-shouldnt-clobber-oroccess-bil/4700>\
**Category:** OpenEMR Development\
**Created:** [December 29, 2011, 11:28pm UTC](https://community.open-emr.org/t/feature-shouldnt-clobber-oroccess-bil/4700 "2011-12-29T23:28:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [December 29, 2011, 11:28pm UTC](https://community.open-emr.org/t/feature-shouldnt-clobber-oroccess-bil/4700/1 "2011-12-29T23:28:40Z")

</div>

**[yehster](https://sourceforge.net/u/yehster/)** wrote on [Thursday, December 29, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/057463da/#5359):

Every time billing\_process.php is executed to generate x12, or hcfa, the log file gets written to the same file  
process\_bills.log  
Any good reason not to log to a filename that corresponds to the “batch”.&nbsp; I understand that it makes the “view log” link a little more complicated, and we would probably want to provide the means to view older logs as well, but having historical records for this log seems like a good idea.&nbsp;  
Alternately, we could also just add an option to rename the old file before we clobber it.  
-Kevin Yeh  
[kevin.y@integralemr.com](mailto:kevin.y@integralemr.com)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [December 29, 2011, 11:30pm UTC](https://community.open-emr.org/t/feature-shouldnt-clobber-oroccess-bil/4700/2 "2011-12-29T23:30:34Z")

</div>

**[yehster](https://sourceforge.net/u/yehster/)** wrote on [Thursday, December 29, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/057463da/#1030):

The “rename process” I mention above would be automatic, so functionality would basically be the same as it is currently, except you could with access to the file system look at the old files. (would name them something like process\_billing-\<date\>.log)
