Debug in tm1s-log.properties cause TM1s service down

Post Reply
Brian_Q
Posts: 9
Joined: Fri Jul 25, 2014 1:08 pm
OLAP Product: Cognos BI & TM1
Version: 9.5+10.1+10.2
Excel Version: 2007+2010

Debug in tm1s-log.properties cause TM1s service down

Post by Brian_Q »

Hi,
In case anybody meet similar issue, I would like to share one case as below:

1. Stop service, turn debug on in tm1s-log.properties
#log4j.logger.TM1=INFO, S1
log4j.logger.TM1=DEBUG, S1
TM1 service couldn't be restarted.

In TM1server.log, it shows:
...
TM1.Event mt_WaitForSingleObject: Waiting for event 0x00000000000001C4.

Workaround from IBM:
Start TM1 services,
log4j.logger.TM1=INFO, S1
#log4j.logger.TM1=DEBUG, S1

, update tm1s-log.properties while service is running.

Then debug information is populated into TM1Server.log and TM1 server works fine.

Cheers
User avatar
qml
MVP
Posts: 1096
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Debug in tm1s-log.properties cause TM1s service down

Post by qml »

The affected TM1 version(s) would be helpful too. As would the PMR/APAR numbers. With this info we can move the thread to the Bugs subforum. Thanks for sharing.
Kamil Arendt
lotsaram
MVP
Posts: 3703
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Debug in tm1s-log.properties cause TM1s service down

Post by lotsaram »

Brian_Q wrote:Hi,
In case anybody meet similar issue, I would like to share one case as below:

1. Stop service, turn debug on in tm1s-log.properties
#log4j.logger.TM1=INFO, S1
log4j.logger.TM1=DEBUG, S1
TM1 service couldn't be restarted.

In TM1server.log, it shows:
...
TM1.Event mt_WaitForSingleObject: Waiting for event 0x00000000000001C4.

Workaround from IBM:
Start TM1 services,
log4j.logger.TM1=INFO, S1
#log4j.logger.TM1=DEBUG, S1

, update tm1s-log.properties while service is running.

Then debug information is populated into TM1Server.log and TM1 server works fine.

Cheers
Well maybe it's not a bad thing that debug logging wasn't able to be switched on during server startup. If you plan to have debug level logging for all loggers and not just 1 or 2 point specific ones during the whole of the server startup then I hope you have at least 100 GB of disk free, coz you will need it.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
kangkc
Community Contributor
Posts: 206
Joined: Fri Oct 17, 2008 2:40 am
OLAP Product: TM1, PA , TMVGate
Version: 2.x
Excel Version: 36x
Location: Singapore
Contact:

Re: Debug in tm1s-log.properties cause TM1s service down

Post by kangkc »

This is a known bug in 10.2.2. If I am not wrong it is resolved in FP4 but I can't be 100% sure.
Post Reply