TM1S Logging Properties - Capturing form publishing
-
- MVP
- Posts: 2831
- 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:
TM1S Logging Properties - Capturing form publishing
Does anyone know if it is possible to add parameters to the tm1slog.properties file to log activity in the }Applications folder? If so, what would the parameters be?
- gtonkin
- MVP
- Posts: 1192
- Joined: Thu May 06, 2010 3:03 pm
- OLAP Product: TM1
- Version: Latest and greatest
- Excel Version: Office 365 64-bit
- Location: JHB, South Africa
- Contact:
Re: TM1S Logging Properties - Capturing form publishing
Not sure what kind of activity you are trying to log but if it is TM1 related, you may try:
May be a bit verbose but your could parse the output to find what you need. All the usual warnings about log size, performance etc. apply.
You could also generate a list of all the loggers using:
FYI - TM1.Application does not seem to do to much with basic tests but YMMV.
Code: Select all
log4j.logger.TM1.Folder=DEBUG, Folder
log4j.appender.Folder=org.apache.log4j.SharedMemoryAppender
log4j.appender.Folder.MemorySize=5 MB
log4j.appender.Folder.File=TM1_Folder.log
log4j.appender.Folder.MaxFileSize=5 MB
log4j.appender.Folder.MaxBackupIndex=5
log4j.appender.Folder.Timezone=Local
You could also generate a list of all the loggers using:
Code: Select all
log4j.logger.TM1.MetaLogger=DEBUG, METALOGGER
log4j.appender.METALOGGER=org.apache.log4j.SharedMemoryAppender
log4j.appender.METALOGGER.MemorySize=5 MB
log4j.appender.METALOGGER.File=tm1_MetaLoggers.log
log4j.appender.METALOGGER.MaxFileSize=5 MB
log4j.appender.METALOGGER.MaxBackupIndex=5
log4j.appender.METALOGGER.Timezone=Local
-
- MVP
- Posts: 2831
- 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: TM1S Logging Properties - Capturing form publishing
Thanks. I am trying to capture whenever someone publishes a file in the }Applications folder. We had someone update a form and screwed it up by publishing from an outdated file. Now no one wants to take responsibility for doing it so I would like to be able to capture in the server log whenever a file inside the }Applications folder is added or updated.