Home
TeamSite
Location of log4j log output
Bill Klish
In testing some JSP files on TeamSite 6.1 SP1, I am unable to find where the log data is being dumped on our Solaris 2.8 host. On the windows 2003 host, it is being dumped to $IW_HOME/local/logs/iwui/servletd_out.log. I am unable to find this file on Solaris.
From page 83 of the 6.1 UICG manual:
The ContentCenter web application uses the third party Apache log4j classes (version
1.2.5). These classes are available to custom code developers.
These methods are configured (within the web application) to write to:
iw-home/local/logs/iwui/servletd_out.log
The iwui directory exists under /var/adm on our solaris box, but that log file does not exist under $IW_HOME or /var/adm.
Interestingly, on solaris, the iwui directory does not exist under $IW_HOME, which maybe is the reason this note was added on page 83 on the UIGC:
Note: Under Unix, if the install is done in console mode—not through the Installer
GUI—these logs are created under /var/adm (bug 46253).
The log code functions on windows 2003 so I don't believe it is a problem with the java code. Any ideas where this data may be going? I am not sure if I can specify my own logging configuration file either within the CC webapp.
Any ideas?
Find more posts tagged with
Comments
nipper
Most logs can be specified in the iw.cfg file. See if that is specified.
Can you run this command:
find / -name "servlet*.log" -print
Adam Stoller
By default, on UNIX - the logs can generally be found in either /var/adm or /var/adm/iwui - in this case, I believe it's /var/adm/iwui/servletd.log
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Bill Klish
There was no specific settings within the iw.cfg file for this log file.
There is a servletd.log file in the /var/adm/iwui directory.
Bill Klish
You are correct that is the file. It was so large that I didn't see my entries at the end, which made me think that they weren't being written there. I did a grep on the file and the entries were found.
I will contact Interwoven Support and file a bug for their documentation to correctly identify the location and names of these files on both unix and windows.
Thanks for your help.
Bill Klish
It may be useful to specify the correct paths in this thread:
Windows: iw-home/local/logs/iwui/servletd_out.log
Unix: /var/adm/iwui/servletd.log