When running a graph under Sanboxes or Scheduling in CloverETL Server 1.3 GUI, how do I pass parameters, like “-logcfg”, to the graph?
In your reference manual, it mentioned under “Task - Execution of Graph” in Table 4.4 that the Parameters is not used in current version. Are these parameters that would be passed to the graph? Are these parameters the answer to my question above? If so, when do you expect the new version of CS that would include this feature?
as for logging:
WAR file contains default log4j configuration. Default logging configuration may be overriden by system property “log4j.configuration”, which should contain URL to log4j config file.
i.e. you can specify system property as jvm parameter:
-Dlog4j.configuration=file:/home/clover/config/log4j.xml
Since new log4j config overrides default one, I recommend to copy default log4j.xml from [WAR file]/WEB-INF/classes/log4j.xml and modify it.
as for passing parameters to graphs:
In version 1.3, it’s possible to specify graph config properties (webGUI - section Sandboxes - select some graph file - tab “Config properties”).
It’s described in manual, section “Graph config properties”.
If you want to use additional graph parameters as placeholders in graph XML, you can use common workspace.prm file.
There is huge improvement of passing parameters in Clover Server 1.4, which is about to release.
Additional and graph config parameters may be passed through
* Simple HTTP API
* Launch Services API (in addition, this API accepts data from http request as graph input data and sends transformation results in http response)
* Task - Execution of Graph
* RunGraph component
When some parameter isn’t specified, graph/sandbox/server default is used (with priority in this order)