Moving to jrun4


-logger (debug/info/...) doesn't work: entries written long delays.
-same problem on new created server, via browser.
-no errors in log on start server.
-jrun.xml contains:
<service class="jrunx.logger.loggerservice" name="loggerservice">
<attribute name="format">{date mm/dd hh:mm:ss} {log.level} {log.message}{log.exception}</attribute>
<attribute name="errorenabled">true</attribute>
<attribute name="warningenabled">true</attribute>
<attribute name="infoenabled">true</attribute>
<attribute name="debugenabled">true</attribute>
<attribute name="metricsenabled">false</attribute>
<attribute name="metricslogfrequency">60</attribute>
<attribute name="metricsformat">web threads (busy/total): {jrpp.busyth}/{jrpp.totalth} sessions: {sessions} total memory={totalmemory} free={freememory}</attribute>
<service class="jrunx.logger.threadedlogeventhandler" name="threadedlogeventhandler">
<!-- service class="jrunx.logger.consolelogeventhandler" name=":service=consolelogeventhandler" / -->
<service class="jrunx.logger.consolelogeventhandler" name="consolelogeventhandler" />
<service class="jrunx.logger.filelogeventhandler" name="filelogeventhandler">
<attribute name="filename">{jrun.rootdir}/logs/{jrun.server.name}-event.log</attribute>
<attribute name="rotationsize">0</attribute>
<attribute name="rotationfiles">3</attribute>
<attribute name="closedelay">10</attribute>
<attribute name="deleteonexit">true</attribute>
</service>
</service>
</service>



i saw known issue on url: https://service.breezecentral.com/support/jrun/ts/documents/tn18193.htm#logging

logging
37766 - sometime stderr , stdout logs not written out either console or log file quickly. appearance of entries in logs not
correspond has taken place in servlets. there substantial delay between servlet activity , appearance of appropriate log entries. when server under load testing, log information not written out until stop server.



More discussions in JRUN


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support