当前位置: 代码迷 >> 数据仓库 >> Kettle日志有关问题
  详细解决方案

Kettle日志有关问题

热度:52   发布时间:2016-05-05 16:05:59.0
求助:Kettle日志问题
我用Java调用了以开发好的Kettle转换,现在需要将相关的日志记录下来,谁能帮帮我啊!!急急急......... 


------解决方案--------------------
kettle transformation本身就有logs机制。

[~/Applications/data-integration] $ ./pan.sh 
INFO 17-09 20:17:14,019 - Using "/tmp/vfs_cache" as temporary files store.
Options:
-rep = Repository name
-user = Repository username
-pass = Repository password
-trans = The name of the transformation to launch
-dir = The directory (dont forget the leading /)
-file = The filename (Transformation in XML) to launch
-level = The logging level (Basic, Detailed, Debug, Rowlevel, Error, Nothing)
-logfile = The logging file to write to
-listdir = List the directories in the repository
-listtrans = List the transformations in the specified directory
-listrep = List the available repositories
-exprep = Export all repository objects to one XML file
-norep = Do not log into the repository
-safemode = Run in safe mode: with extra checking enabled
-version = show the version, revision and build date
-param = Set a named parameter <NAME>=<VALUE>. For example -param:FOO=bar
-listparam = List information concerning the defined named parameters in the specified transformation.