Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Handling logs when executing through Tomcat

  1. #1
    Join Date
    Sep 2010
    Posts
    135

    Default Handling logs when executing through Tomcat

    Hi,

    I'm executing some transformations using Tomcat. I can see the log of the execution in Tomcat shell as it is shown in the image. I want to send this logs to a file. In production I run Tomcat as a service and it sends all the logs to a file but in my computer I run it with "startup.bat" and I don't know how can I send them to a file. Maybe this is a Tomcat question and is not related with Kettle but any advice will be rellay helpfull.

    Thanks in advance.
    Regards,
    Aitor
    Attached Images Attached Images  
    Last edited by augarte; 03-02-2011 at 10:08 AM. Reason: Attach image

  2. #2
    Join Date
    Apr 2008
    Posts
    4,689

    Default

    Define logging to a table instead?
    This actually provides several advantages...

  3. #3
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Or wrap the job/transformation in a job. Then you can do what you want with the log text.

    http://www.ibridge.be/?p=181

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.