Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Redirecting output from Kettle 7.1

  1. #1
    Join Date
    Apr 2013
    Posts
    24

    Default Redirecting output from Kettle 7.1

    Hello!

    I'm trying to redirect both standard and error output from kitchen.sh to some logfile.

    Here is my command line:

    ./kitchen.sh -rep=somerep -job=somejob >>logfile.log 2>&1

    During job execution absolutely nothing is written to the log, then, when job ends, it flushes all the log to logfile..

    The very same command line on 5.0.1 works fine, it's writing log line by line during job execution.

    Why it so with 7.1? What can be done with it?

    Thanx in advance!

  2. #2
    Join Date
    Apr 2013
    Posts
    24

    Default

    Forgot to mention - it's all happening on Linux (Ubuntu 14.04.2)

  3. #3
    Join Date
    Feb 2017
    Posts
    13

    Default

    Wipiton try to use -logfile switch for Kitchen

  4. #4
    Join Date
    Nov 2013
    Posts
    382

    Default

    ./kitchen.sh -rep=MyRep -job=MyJob -level=Minimal >> /srv/MyDir/Logs/pentaho.log

    Works fine for me on Ubuntu 16.04.1 LTS

  5. #5
    Join Date
    Apr 2013
    Posts
    24

    Default

    rsdp - thanx, tried it, but it doesn't write errors to it, only standard output stream..

  6. #6
    Join Date
    Apr 2013
    Posts
    24

    Default

    DepButi - you''re redirecting only standard output, what about error stream?

  7. #7
    Join Date
    Nov 2013
    Posts
    382

    Default

    All output (PDI errors included) go to the same file. Never had any need to separate error/output.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.