Kbase P139345: How to force an AppServer Broker to start a new log every time the process is started?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/12/2009 |
|
Status: Verified
GOAL:
How to force an AppServer Broker to start a new log every time the process is started?
GOAL:
Is there a way to have the AppServer start new log files every time the process is initiated?
GOAL:
What needs to be changed in the ubroker.properties file to have an AppServer overwrite the existing log files with new ones?
GOAL:
What are the steps to truncate or clear the AppServer log file when it is restarted?
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.x
FIX:
Modify the following entries in the ubroker.properties file for the AppServer to contain the following:
brkrLogAppend=0
srvrLogAppend=0
These parameters have the following characteristics according to the ubroker.properties.README file:
# brkrLogAppend REQUIRED
#
# Specifies when a broker is started if a new broker log file should be
# created even if the file specified by brokerLogFile exists, or if the log
# entries should be appended to the log file.
# Possible values: 0 - create new broker log file
# 1 - append to the existing log file
#
# Default: 1
# srvrLogAppend REQUIRED
#
# Specifies when the server is started if a new server log file should be
# created even if the file specified by srvrLogFile exists, or if the log
# entries should be appended to the log file.
# Possible values: 0 - create new server log file
# 1 - append to the existing log file
#
# Default: 1
The ubroker.properties file is located by default in $DLC/properties (UNIX) or %DLC%\properties (Windows).