Consultor Eletrônico



Kbase P94393: Broker and server log files are not created under expected location
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/7/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.x
WebSpeed 3.x

SYMPTOM(s):

Broker and server log files are not created under expected location

Need to create broker and server logs in a new location

Broker and server log files are created under default location, installation working directory

Broker and server(s)/agent(s) start up with no problems

Current "PROPATH" includes new "workDir" directory

"workDir" and "PROPATH" entries are correctly updated within ubroker.properties file

Broker is restarted after new location is defined

CHANGE:

Broker's "workDir" and "PROPATH" entries are altered to new location

CAUSE:

If you are trying to create new broker and server logs within a new directory, the attribute "workDir" is not the correct attribute to change. The correct attribute (within the ubroker.properties file) for specifying the new location and/or name for broker and server logs are;
brokerLogFile=
srvrLogFile=

FIX:

Via Progress Explorer:
After connecting to Adminserver, ensure that broker is not running

1. Select the defined broker
2. Right click and go into Properties
3. Under "Broker" section, go under "Logging Settings"
4. Change "Broker log filename:" to new location and/or name if you wish
5. Under "Server" and/or "Agent" (depending on what product you are using [ Appserver and/or WebSpeed]), go under "Logging Setting"
6. Change "Server/Agent log filename:" to new location and/or name if you wish.
7. Select OKAY and restart broker

Via ubroker.properties (manual change):
Stop all Progress components when updating the ubroker.properties file manually.

1. Open ubroker.properties file (under %DLD%\properties)
2. Go to your specified broker
3. Change entries "brokerLogFile" and "srvrLogFile" to your new location along with the name of the files

Example i.e.,
brokerLogFile=C:\newlocation\newbroker.broker.log
srvrLogFile=C:\newlocation\newbroker.server.log

4. Save file and restart all components.