Page 1 of 1

Available loggers for use in tm1s-log.properties

Posted: Wed Jun 29, 2016 6:07 pm
by gtonkin
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

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

Posted: Thu Jun 30, 2016 9:29 am
by qml
That's a good one, thanks for sharing!

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

Posted: Tue Jul 12, 2016 8:50 pm
by ambrus
I've tried the Rest API loggers but nothing came through.. anybody succeeded with that?

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

Posted: Mon Apr 23, 2018 9:11 am
by qml
ambrus wrote:
Tue Jul 12, 2016 8:50 pm
I've tried the Rest API loggers but nothing came through.. anybody succeeded with that?
Sorry to resurrect the thread, but in case anyone is looking for the REST API loggers - the following ones are working correctly as of the last few versions:

TM1.HttpRequest
TM1.HttpRequestHeaders
TM1.HttpRequestBody
TM1.HttpResponse
TM1.HttpResponseHeaders
TM1.HttpResponseBody