首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 数据库开发 >

Kettle日志有关问题

2012-03-16 
求助:Kettle日志问题我用Java调用了以开发好的Kettle转换,现在需要将相关的日志记录下来,谁能帮帮我啊!!急

求助: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.

热点排行