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.

Methods

new   output_file   stop  

Public Class methods

[Source]

     # 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

Public Instance methods

Returns a handle on the output file instance used by this FileHistory.

[Source]

     # File lib/openwfe/expool/history.rb, line 164
164:         def output_file
165:             @output
166:         end

[Source]

     # File lib/openwfe/expool/history.rb, line 168
168:         def stop
169:             @output.close
170:         end

[Validate]