How to setup console log to file

How to setup console log to file

Problem:  Troubleshooting an issue, but it is only happening intermittently.  Real-time logging is not sufficient in these instances, so you can setup logging to file instead.   



Prerequisite(s):
  • webNetwork 6.3.0.199 or above
  • Ability to shutdown-startup webNetwork service
  • Enough disk space to store file

Solution(s):  Modify LAX file parameters to output console to a log file.

  • Go to Server Management Console (8090 console)
  • Go to Settings tab
  • Go to LAX parameters
  • For Standard err Path enter directory path and file (ex: C:\\temp\\error.log)
  • For Standard out Path enter directory path and file (ex: C:\\temp\\out.log)
  • Click Save button
  • Click Shutdown button
  • Startup webNetwork service again
  • Verify files have been created and startup output has been recorded in out.log (Standard Err Path is not frequently used for logging)

Additional Notes:
  • The '\' must be escaped with a '\\'
  • Not recommended for heavy usage environments
  • File can get large quickly; make sure to monitor file size and disk space
  • Not recommended for daily use; ONLY for troubleshooting purposes