Module Not Overwriting Exising LOG File

California Title 24 Regulations
Post Reply
MatthewSteen
VE Graduate
VE Graduate
Posts: 51
Joined: Mon Nov 17, 2014 5:43 pm
Location: Denver, CO, USA

Module Not Overwriting Exising LOG File

Post by MatthewSteen »

The module in VE 2015 is not overwriting the existing LOG file which must be manually deleted in order to show updated error messages.
Building Performance Engineer | Ambient Energy | http://ambient-e.com/
Q+A Resource for the Building Energy Modeling Community | https://unmethours.com/questions/
macleodd
IES Staff
IES Staff
Posts: 36
Joined: Wed Aug 27, 2008 1:33 pm

Re: Module Not Overwriting Exising LOG File

Post by macleodd »

Hi Matthew
I do not think we have seen any other reports of this behavior, either in IES or from other customers.
Are you sure the file has not been locked by another program? Neither of Notepad or Notepad++ will do this, but there may be other editors/viewers that do.

Regards Donald
IES Development Staff
MatthewSteen
VE Graduate
VE Graduate
Posts: 51
Joined: Mon Nov 17, 2014 5:43 pm
Location: Denver, CO, USA

Re: Module Not Overwriting Exising LOG File

Post by MatthewSteen »

Yes, none of my text editors (Atom, Sublime Text 3) are looking for the LOG file and when I open it from the module in Notepad it lists the timestamp from the last file with no changes. I have to manually delete the file and run a sim to have it update.

This could also be a CBECC-Com issue which I will try to confirm once I move the model there and update here on what I find.
Building Performance Engineer | Ambient Energy | http://ambient-e.com/
Q+A Resource for the Building Energy Modeling Community | https://unmethours.com/questions/
MatthewSteen
VE Graduate
VE Graduate
Posts: 51
Joined: Mon Nov 17, 2014 5:43 pm
Location: Denver, CO, USA

Re: Module Not Overwriting Exising LOG File

Post by MatthewSteen »

I've been told by a NORESCO Analyst that simulation messages are appended to the LOG file instead of overwritten. I was expecting it to behave like EnergyPlus' ERR file.

My workaround is to delete the LOG file after each sim and then run a Python script to keep only the error lines which eliminates the need to wade through outdated and unimportant messages.

https://github.com/MatthewSteen/Scripts
Building Performance Engineer | Ambient Energy | http://ambient-e.com/
Q+A Resource for the Building Energy Modeling Community | https://unmethours.com/questions/
Post Reply