CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

[ProjectLog] in Project File

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
tolga.uzun



Joined: 22 Jan 2021
Posts: 3

View user's profile Send private message

[ProjectLog] in Project File
PostPosted: Fri Jan 22, 2021 2:21 am     Reply with quote

Hello,

I am using CCS IDE V5.101

After creating the project, everytime I open the project file, it adds logs to the file in [ProjectLog] tag as the example lines below:
D22_L1=[40719]Project Opened.
D22_L2=[40726]Project Closed.

Since I am using VCS, those redundant changes in the files are not OK for me.

Is there a way to close that logging?
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Fri Jan 22, 2021 4:59 am     Reply with quote

I don't think so. It is it's own control logging. Just exclude the project
file from the VCS.
tolga.uzun



Joined: 22 Jan 2021
Posts: 3

View user's profile Send private message

PostPosted: Fri Jan 22, 2021 5:54 am     Reply with quote

Thanks for you answer Ttelmah,

There were no such thing at version near 5.010.

The project file also has information about other settings so I would not prefer to exclude it from VCS.

Maybe someone knows a solution :D
jeremiah



Joined: 20 Jul 2010
Posts: 1314

View user's profile Send private message

PostPosted: Fri Jan 22, 2021 1:17 pm     Reply with quote

I would recommend contacting CCS support (via email) and asking for this feature. I have in the past, but I assume they need more folks asking in order to have some sort of gauge of if it is worth it to add.

One option you can do is save an archived copy in a separate folder from where you compile and then tell your VCS to ignore the file where the compiler puts the updated one. This just means that when someone pulls the code for the very first time, they need to copy the archived project file over to the build directory.

Though honestly there is very little the project file needs to remember that I cannot provide either in the source code or via command line, so I just tell my source control to ignore it outright and I don't bother.

I agree it should be an option though and I would use it if they added it if just to make it easier for people cloning the repo for the first time.
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Sat Jan 23, 2021 1:46 am     Reply with quote

I'd still look at ignoring the file.
It is trivial to write a script to extract all the wanted stuff from the project
file into a temporary file, and then have your VCS look at this instead of
the main file.
Though perhaps it would be nice if CCS offered an option to not do this, long
term I can see them putting more and more into this file, so having a way to
actually handle this is really the better way to go.
tolga.uzun



Joined: 22 Jan 2021
Posts: 3

View user's profile Send private message

PostPosted: Tue Jan 26, 2021 12:49 am     Reply with quote

Hello again,

Yesterday I contacted CCS Support and they said me: "There is no way to stop it now. We will add an option in the next release."

Looking forward to the next release.

Thanks for replies.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group