Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Only show steps execution messages on console.

  1. #1
    Join Date
    Aug 2013
    Posts
    24

    Default Only show steps execution messages on console.

    Question from a noobie:

    When I execute a job interactively, it shows the logs in the console.
    The problem is that it shows a lot... and i need the detailed log in a file.

    What i want to do is:
    Get the log file using the kitchen's log parameter.
    And in the console show a message for each step that is running...

    For example:
    Executing extraction...
    Executing calculations...
    Executing inserts....

    and so on.

    is there a way to accomplish that? Any components?

    Thanks

    Daniel

  2. #2
    Join Date
    Jul 2009
    Posts
    476

    Default

    I always run kitchen with redirection, e.g.

    Code:
    kitchen.sh > some_log_file 2>&1
    mostly because that's how others set up our ETL here, before I started using PDI. If you used that kind of redirection, then maybe you could do something like this:

    Code:
    kitchen.sh 2>&1 | tee some_log_file | grep Executing
    to view the "Executing" lines on the console while capturing all of the logs in the logfile.

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.