1.0.0.2745 log.txt is excessively large

Hi everyone.

We have recently updated our Continua to build 2745.

Since then we have log.txt files in our build output. I suppose those are created by the change "Update: Build log text file in now pre-generated for immediate download."?

There is a problem however. These files range from 1 to 6 GB for our builds. Is there a way to disable this feature?

Hi,

We made this update as the Download As Plain Text link on the build log page was timing out while generating the log file for some users. If we allow this the log file pre-generation to be disabled we would have to disable this link too. 

I think the main issue here is the size of the log file. What settings do you have switched on for your actions and stages to generate files over 1GB in size? The Continua build log file is currently 10MB and the FinalBuilder build log file is 4MB. The use of options such as “log repository files copied” in the stage options and “Diagnostic” verbosity options for an MSBuild action should be limited to troubleshooting build issues. Are you able identify what is generating so many messages? 

The log is also stored in a SQL CE database called “log” without any extension. This is queried to generate the log page and has been there since the first release. This will generally be larger than the log.txt file?

Also you have said that the log.txt file is in the build output. The log file is located at the root of the workspace - you may need to check that the file is excluded from your workspace rules so that it is not copied to the build output.

Sorry. I mixed up the directories. The file is indeed at the root of the workspace.
The “log” file next to it is only between 100 and 200 MB generally. I will reduce the compiler output level and see if that makes much of a difference.

We are using Continua to call a FinalBuilder project which in total compiles about a thousand delphi projects.

Umm… a thousand delphi projects? What are you building? (just curious).

Our Software consists of 3 applications, each with hundreds of dlls to provide their functionality. It’s not necessarily the best architecture but changing it now is unfortunately out of the question.

I have disabled as many compiler and logging messages as I could. Unfortunately that had no real impact on the log file size.

Hi,

The latest build (v1.0.0.2779) allows you to switch off the pre-generation of the build log text file by adding

<add key="Continua.Builds.AutogenerateBuildLog" value="false" />

to the appSettings section of Continua.Server.Service.exe.config. The log file can still be generated manually using a [Generate Plain Text Log File] button on the build log page.




Thanks for giving us that option. The change prevented us from updating to a newer version.