Customizing the Way WebLogic Workshop Logs Run-time Messages
You might want to customize the way WebLogic Workshop reports diagnostic
information. For instance, you might want to log information to a console or
database instead of a file. Perhaps you would like to adjust the way these
messages appear in the log file. If you want to have better control over
these details, you can do so by editing the
workshopLogCfg.xml file. This is WebLogic Workshop's default log
configuration file. You can locate workshopLogCfg.xml
at /common/lib/.
The workshopLogCfg.xml file defines which
run-time libraries report information, the type of information they report,
the display format of that information, and the log files to which that
information is written. You can customize any of these details by editing
workshopLogCfg.xml. Alternatively, you can
override the settings in workshopLogCfg.xml by
providing your own custom configuration file. For guidance on both
approaches, see
workshopLogCfg.xml Configuration File.
IDE Logging
WebLogic Workshop also has an IDE logging feature, which logs various
events from the IDE, such as events that occur during startup. IDE logging
is off by default, but you can turn it on by following the steps in
How Do I: Turn On IDE Logging?. These messages can help BEA technical
support troubleshoot issues you may encounter when developing applications
with WebLogic Workshop. WebLogic Workshop writes IDE-related log messages to
a file named ide.log. You can find this file
at /workshop/.
Sample
The data shown below is an excerpt from
/workshop/ide.log.
DEBUG: extensions=C:\bea\weblogic81\workshop\\extensions
INFO: Registering extension com.bea.portal.ide.CommonServices
INFO: Service com.bea.portal.ide.findrefs.FindRefsSvc registered
INFO: Handler for urn:com-bea-portal-ide:ref-finders registered
INFO: Registering extension workshop.control.ControlServices
INFO: Service com.bea.ide.control.ControlSvc registered
...
...
DEBUG: WorkspaceLoaded: 11063ms
DEBUG: *** CompilerProject constructor 1
DEBUG: getClasspathMapping initiated with 21 item list.
DEBUG: getClasspathMapping returning 21 item map.
SourceLoader roots: 16
DEBUG: Document Panel initialized: 14017ms
DEBUG: Source Load: 2172
INFO: Startup Complete
DEBUG: Loading template file wsrp-producer-project.zip
Because this information is of minimal use to most WebLogic Workshop
developers, WebLogic Workshop disables IDE logging by default. If you
contact BEA technical support, representatives might ask you to enable
logging in order to better diagnose IDE related issues.