11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

webMathematica User Guide 185the popular log4j logging services. The system is configured with files loaded when the serverlaunches, and can record different levels of event, FATAL, ERROR, WARN, INFO, DEBUG, and TRACE,ranging from serious to not serious.Configuration for the webMathematica logging system is found in the file log4j.propertieslocated in webMathematica/WEB-INF/classes. The default provides four loggers, which collectdifferent types of log information. By default, logging only records events that are at level INFOand above. Output for all the loggers goes into /logs.webMathematica.logKernelEvents.logJobEvents.logcore webMathematica log filekernel events, such as evaluations, messages, and printoutputlogging for jobs that support queuesDefault webMathematica log files.The core webMathematica log file is the core main logger that records many different types ofevent. The request log file contains logging for each request, and is a simple way to see activityto the site. The kernel log file shows information about how the kernel is used. In particular, itcontains message output (at the WARN level) and print output (at the INFO level).The folder webMathematica/WEB-INF/classes/samples contains a sample logging configurationfile, log4j.properties.DEBUG, which turns on logging at the DEBUG level. It also containslog4j.properties-sample, a logging file with more comments, and the original file,log4j.properties.BACK. To activate one of these, copy it to webMathematica/WEB-INFÖ/classes, rename it to log4j.properties, and restart the server. The log files will collectinformation at the new level. This might be a good way to track down problems in your webMathematicaserver.To configure the logging system at more detail, you could study log4j.properties-sample;then you should probably consult one of the many references that exist for log4j.Server LoggingOne key place to search for information on problems is the server logging system. Under Tomcat,typical logging files are /logs/localhost_log.YYYY-MM-DD.txt, wherethe filename includes the date. For other servlet containers you will need to study the relevant

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!