Hi every one,
I looked for this topic on the forum but didn’t found out anything. Please apologize if you already answered something on this « bug »
We have disabled logs on a particular TI process through the good old instruction cellputs (no, cubeproperties, vcube, logging), but it doesn’t work.
During a test, The tm1 log file added 59 000 kbits after commit.
During this same test, We launched the same TI process after removing the instruction « logging :no , and tm1log file added exactly the same amount of kbits (59000)
How is that possible ?
(We run on planning analytics 2.0.5)
TM1 - disabling logs doesn’t work
-
- Community Contributor
- Posts: 312
- Joined: Fri Feb 15, 2013 5:49 pm
- OLAP Product: TM1
- Version: PA 2.0.9.1
- Excel Version: 365
- Location: Minneapolis, USA
Re: TM1 - disabling logs doesn’t work
You're talking about the tm1s.log file and not the tm1server.log file right? Can you post your actual code for turning transaction logging off and confirm what tab of the TI process you've placed it?
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: TM1 - disabling logs doesn’t work
Is this literally your code? It's not going to work because anything that is not a variable would need to have apostrophes and you have a wrong cube name.
Code: Select all
cellputs ('no', '}cubeproperties', vcube, 'logging');
-
- Posts: 3
- Joined: Thu Oct 03, 2019 10:28 am
- OLAP Product: Planning Analytics
- Version: 10.2
- Excel Version: 2016
Re: TM1 - disabling logs doesn’t work
Thank you for your reply.
I’m talking about tm1s.log file yes . And my script is the good one (with apostrophe, as mentionned in Tomok’s message) and correct cube name, placed in prolog and epilog.
I just don’t understand why log file still increasing whereas I turned off within the TI process. Did you ever encountered this issue ?
We have a big TI process which transfer data from a cube to another with calculations, and this TI process result to a 60 gbits log file !
Appreciate your help a lot
I’m talking about tm1s.log file yes . And my script is the good one (with apostrophe, as mentionned in Tomok’s message) and correct cube name, placed in prolog and epilog.
I just don’t understand why log file still increasing whereas I turned off within the TI process. Did you ever encountered this issue ?
We have a big TI process which transfer data from a cube to another with calculations, and this TI process result to a 60 gbits log file !
Appreciate your help a lot
-
- Community Contributor
- Posts: 312
- Joined: Fri Feb 15, 2013 5:49 pm
- OLAP Product: TM1
- Version: PA 2.0.9.1
- Excel Version: 365
- Location: Minneapolis, USA
Re: TM1 - disabling logs doesn’t work
Are you calling a ViewZeroOut in the prolog of your TI? If so, have you made sure that you're setting the logging to no BEFORE you call the zero out?
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: TM1 - disabling logs doesn’t work
Any particular reason why you are not using the built-in CubeSetLogChanges function in your TI?
-
- MVP
- Posts: 3234
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: TM1 - disabling logs doesn’t work
Yes. Reducing locking, at least that's what I have always assumed the CellPutS does in favour of CubeSetLogChanges.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly