Configure logging
By default PRD outputs the log to the console and to a file.
The log output file can be found in (Linux):
~/.pentaho/logs/prd.log
To configure the log settings amend the log4j.xml file in the PRD/resources folder. See here for more details.
To get a more detailed logging, change this section
<root>
<priority value="INFO"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
to
<root>
<priority value="DEBUG"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
ALL
TRACE
DEBUG
FATAL
ERROR
INFO
OFF
To follow the log simply run (Usually this is not necessary as on Linux you have the terminal window open from which you started PRD, so the log will be display there):
tail -f ~/.pentaho/logs/prd.log
If you want to adjust the location where the log file is stored simple change following section:
<param name="file" value="${user.home}/.pentaho/logs/prd.log"/>
hello i try this for logging my report but don´t work i have bi.-server 5.2 please you can help me
ReplyDelete