myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2754] branches/rails2/lib/workflow_types_handler


From: noreply
Subject: [myexperiment-hackers] [2754] branches/rails2/lib/workflow_types_handler.rb: fixed logger call in workflow types handler
Date: Mon, 24 Oct 2011 17:03:27 -0400 (EDT)

Revision
2754
Author
dgc
Date
2011-10-24 17:03:27 -0400 (Mon, 24 Oct 2011)

Log Message

fixed logger call in workflow types handler

Modified Paths

Diff

Modified: branches/rails2/lib/workflow_types_handler.rb (2753 => 2754)


--- branches/rails2/lib/workflow_types_handler.rb	2011-10-24 21:02:54 UTC (rev 2753)
+++ branches/rails2/lib/workflow_types_handler.rb	2011-10-24 21:03:27 UTC (rev 2754)
@@ -5,6 +5,9 @@
 
 # Helper class to deal with Workflow types and processors.
 # Note that workflow types can exist that don't have corresponding processors.
+
+require 'lib/workflow_processors/interface'
+
 class WorkflowTypesHandler
   
   # Gets all the workflow processor classes that have been defined in the \lib\workflow_processors directory.
@@ -135,7 +138,7 @@
 end
 
 # Load up the processor classes at startup
-logger.debug("Workflow type processors found: " + WorkflowTypesHandler.processor_classes.to_sentence)
+Rails.logger.debug("Workflow type processors found: " + WorkflowTypesHandler.processor_classes.to_sentence)
 
 # Refresh the list of workflow types in the system
 WorkflowTypesHandler.refresh_all_known_types!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]