I want to know how to output contents of Debug.console to the log.

 
[Handling method]
Standard output (contents of console) is output to stdout.log until WebPlatform Ver7.2. For intra-mart Accel Platform, however, control of standard output depends on application server side, stdout.log is not output on standard.
 When using Resin for application server, standard output can be output to stdout.log by changing resin.xml setting.

Please add stdout-log tag to <cluster id="app">/<host-default> tag subordinate included in %RESIN_HOME%/conf/resin.xml.

 --------------------
 Example: 
 <cluster id="app"> 
 <server-multi id-prefix="app-" address-list="${app_servers}" port="6800"/> 
 <host-default> 
  <web-app-deploy path="webapps" 
   expand-preserve-fileset="WEB-INF/work/**" 
   multiversion-routing="false"  
   path-suffix="${elastic_webapp?resin.id:''}"/> 
  <stdout-log path='${resin.home}/log/stdout.log' rollover-period='1W'/> 
 </host-default> 
 -------------------- 
*Please refer to the site bellow for detailed setting method.
http://caucho.com/resin-4.0/admin/logging.xtp#stdoutlog (As of April 2014)

-- Target -------------------------------------------------------------------
iAP/Accel Platform/All Updates
--------------------------------------------------------------------------------


FAQID:6
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk