Class | OpenWFE::FileHistory |
In: |
lib/openwfe/expool/history.rb
|
Parent: | BaseHistory |
Simply dumps the history in the work directory in a file named "history.log" Warning : no fancy rotation or compression implemented here.
# File lib/openwfe/expool/history.rb, line 150 150: def initialize (service_name, application_context) 151: 152: super 153: 154: @output = get_work_directory + "/history.log" 155: @output = File.open(@output, "w+") 156: 157: linfo { "new() outputting history to #{@output.path}" } 158: end
Returns a handle on the output file instance used by this FileHistory.
# File lib/openwfe/expool/history.rb, line 164 164: def output_file 165: @output 166: end