Hi,
I have a scheduled task that has one stage - to run a FinalBuilder project.
However, for the last few days the log files have got massive.
If I run the FinalBuilder project manually it generates a 750Mb log file (which is still high, but expected based on the work of the task).
The same log files created by the Continua task are over 2Gb.
The log files I am talking about are located in: E:\ContinuaCI\Ws\Config_File_Checker\2323
There is one called “log” which is 2Gb and another called “log.txt” which is 310Mb.
What is this 2Gb file for and why has it doubled in size in the last couple of weeks?
Thanks
Mark
Hi Mark,
The “log” file in the workspace folder is a SQL CE database of the build log used to display the Log tab on the Build page. It is generally larger that the log.txt file as it contains indexes for querying the data quickly.
You can view the contents of the database using SQL Server Compact Edition Database Query Analyzer or the SQLite & SQL Server Compact Toolbox extension for Visual Studio. Note that you will need to rename the file to log.sdf before you can open it with at least one of these tools.
To reduce the size of this file, first, check that the “Log workspace files copied” and “Log repository files copied” options are not checked in the Stage Options for each stage in the build. These options should only be used for diagnosing issues with the build configuration - switching them off should also make your builds run quicker. Perhaps one of these options has been turned on recently, as this has caused the sudden increase in size?
The only other option is to go through each FinalBuilder action and suppress logging where unnecessary. Maybe you have actions which are in a loop and creating a lot of messages? Could you possibly replace the logging for these actions with one log variables action showing the result?
Another thing to look at, if you have a problem with disk space, is your build Cleanup settings. Ensure this is set to clean up the Workspace Logs for any old builds you no longer need to view.