Available loggers for use in tm1s-log.properties

Ideas and tips for enhancing your TM1 application
Post Reply
User avatar
gtonkin
MVP
Posts: 521
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: PAL 2.0.1
Excel Version: 2016 64-bit
Location: JHB, South Africa
Contact:

Available loggers for use in tm1s-log.properties

Post by gtonkin » Wed Jun 29, 2016 6:07 pm

A bit of a random one but thought it may be useful for those trying to get more insight into what is happening on their models.
Add the following line to you tm1s-log.properties:

Code: Select all

log4j.logger.TM1.MetaLogger=DEBUG
After restarting your model, you should see the following in your tm1server.log:

Code: Select all

9256   []   DEBUG   2016-06-29 17:57:39.523   TM1.MetaLogger   Available loggers:
TM1.API
TM1.API.Parameters
TM1.API.Return
TM1.API.Return.Error
TM1.API.Return.Object
TM1.API.Return.String
TM1.API.Retry
TM1.APIDetail
TM1.APIDetail.Parameters
...
TM1.Login
TM1.TM1Top
This is then followed by

Code: Select all

9256   []   DEBUG   2016-06-29 17:57:39.525   TM1.MetaLogger   Available TM1 API specific loggers:
TM1.API.Fn.SystemServerConnect
TM1.API.Fn.SystemServerDisconnect
TM1.API.Fn.SystemServerConnectUnique
TM1.API.Fn.SystemServer1001
TM1.API.Fn.SystemServerConnectIntegratedLogin
TM1.API.Fn.SystemServerGetSSPIInfo
...
TM1.API.Fn.DimensionHierarchyDestroy
TM1.API.Fn.DimensionHierarchyDelete
TM1.API.Fn.MultiCellSpread
Roughly 670 loggers to play with.

@Admins - please move to Tips and Tricks

User avatar
qml
MVP
Posts: 1044
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Available loggers for use in tm1s-log.properties

Post by qml » Thu Jun 30, 2016 9:29 am

That's a good one, thanks for sharing!
Kamil Arendt

ambrus
Posts: 10
Joined: Thu Nov 19, 2009 1:13 pm
OLAP Product: Manny's TM1
Version: 10.2.2
Excel Version: 2010
Contact:

Re: Available loggers for use in tm1s-log.properties

Post by ambrus » Tue Jul 12, 2016 8:50 pm

I've tried the Rest API loggers but nothing came through.. anybody succeeded with that?
Rest API addict, creator of http://cubeac.com || Blog http://cubeac.com/blog/

Post Reply