Pulse server log message


#1

Hi Pulse team,

Pulse server log often shows this error below. Can you please let me know what’s the cause? Thanks.

2016-10-03 08:14:56.6417 Error MonitorServerLog Unable to create message log item for: D:\TM1_Data<instance_name>\Log\tm1server.log "System.IO.IOException: The process cannot access the file ‘D:\TM1_Data<instance_name>\Log\tm1server.log’ because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader…ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader…ctor(String path, Boolean detectEncodingFromByteOrderMarks)

Thanks,
Nova


#2

Hi Nova,

It is caused by TM1 locking the tm1server.log while it writes to it. Pulse will pick up the content the next time it can open the file.


#3

Ok. Thanks @tryan