Enable debug logging in the WF Server. In bwc/5.4/server/<server_name>/config/icconfig.xml, you may need to change the flag to true:
<IC_SERVER_DEBUG enabled="FALSE">
Put the attached file (icjava_log4j.xml) in your $TIBCO_HOME/bwc/5.4/lib folder
Edit the attached file (Filename: IcJava_log4j.xml to modify the client logfile location.
Example: <param name="File" value="/home/tib55/tibco/bwc/5.4/logs/icjava_debug.log" />
Start your Workflow Server and the Workflow Document Repo server.
Start your Workflow Service Agent.
The icjava file is case sensitive. If using on Windows, the filename will be "IcJava_log4j.xml" and on Unix, "icjava_log4j.xml" . Make sure the file name is correct (notice CAP characters on Windows).