We have setup our Dev environment of C10 in a distributed manner for High Availability purpose.So each of the servers has the Content Manager and all the other services. I have question on whats the best practice to setup the logging ? By default, its being written to the cogserver.log file in each server - but I would like to have one single place where to consolidate all logs. Our Content Store is in Oracle. Can someone elaborate some best practices ?
Why dont change the logging to a database and take it up from there, you'll have the log limit as you define for your database. And if you are going to make use of this for audit it'll be pretty helpful.
Hi,
The link below will give you a view of the options but in your case I would be looking at using a Remote Log Server.
http://publib.boulder.ibm.com/infocenter/cbi/v10r1m0/index.jsp?topic=/com.ibm.swg.im.cognos.inst_cr_winux.10.1.0.doc/inst_cr_winux_id22260cnfg_log.html
Rgds
Rob
Quote from: msp_cognos on 13 May 2011 08:36:33 AM
We have setup our Dev environment of C10 in a distributed manner for High Availability purpose.... I have question on whats the best practice to setup the logging ? By default, its being written to the cogserver.log file in each server - but I would like to have one single place where to consolidate all logs.
As mentioned, a log server is one option.
However, a 2nd issue is searching through the volume of messages for an error message which might be related to a problem you are currently experiencing.
I wrote a script to ftp download cogserver.log from our 6 servers to my desktop, then execute a vbscript against each log to filter out messages with common error prefixes (DM-, DPR-,etc) and then popup the filtered log separately in notepad for each of the 6 servers. The script also has an option to start/stop the cognos servers in the proper sequence.