Archived
3
0

restored log file path

This commit is contained in:
Philippe Pittoli 2021-03-02 17:29:11 +01:00
parent 8392363d49
commit 999a134221
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,5 @@
class Baguette::Context
#class_property logfile_path = "#{@working_directory}/#{@recipe.not_nil!.working_uuid}.log"
class_property logfile_path = "/tmp/package-create.log"
class_property no_logfile = false
end

View File

@ -173,6 +173,9 @@ begin
recipes.each do |recipe|
latest_build_dir = recipe.building_directory
Baguette::Context.logfile_path = "#{context.working_directory}/"
Baguette::Context.logfile_path += "#{@recipe.working_uuid}.log"
Baguette::Log.title recipe.name
recipe.download