Access to logging folder via TI

Post Reply
IanB
Posts: 22
Joined: Tue Jul 01, 2008 2:12 pm
OLAP Product: TM1 SSAS
Version: 9.5,10.2
Excel Version: 2010 2013 2016
Location: UK

Access to logging folder via TI

Post by IanB »

Hi all
I was contemplating creating custom logging of TI process activity - to capture parameters etc
I could hard-code the path to the logging folder - but thought it would be better to pick up the logging path from the system - as declared in tm1s.cfg

Any ideas? I didn't see anything in TI variables

Thanks
IanB
User avatar
Michel Zijlema
Site Admin
Posts: 712
Joined: Wed May 14, 2008 5:22 am
OLAP Product: TM1, PALO
Version: both 2.5 and higher
Excel Version: 2003-2007-2010
Location: Netherlands
Contact:

Re: Access to logging folder via TI

Post by Michel Zijlema »

There is a TI function available for this:
GetProcessErrorFileDirectory

This is a TM1 TurboIntegrator function, valid only in TurboIntegrator processes.

This function returns the full pathname, with trailing slash, of the directory where TurboIntegrator process error files are written. (By default, all process error log files are written to the data directory of the server on which the process resides.)
Syntax

GetProcessErrorFileDirectory;

Arguments

None.
Michel
Post Reply