I had the need to see mondrian logs in spoon, to debug a few things. But kettle doesn't have any existing log4j.xml file that I can use to edit the info I want. Easy enough to fix though.
- Edit spoon.sh (or the equivalent on your operating system)
- In the end of the file, look for a like that starts with OPT="..."
- Add "-cp . " to the beginning of the line, staying with something like: OPT="-cp . $OPT (...)"
- Drop a log4j.xml file to the same dir as spoon.sh
And voilá.



Nice, see the feature request for this: http://jira.pentaho.com/browse/PDI-1791
ReplyDeleteCheers,
Jens