Error logging not working

Error logging not working

Anonymous
Not applicable
734 Views
1 Reply
Message 1 of 2

Error logging not working

Anonymous
Not applicable

Why isn't Maya writing to the error log file? I called MGlobal::errorLoggingIsOn(); which returned true and MString path = MGlobal::errorLogPathName(); returns "c:/Temp/myLog.txt" which I specified earlier by calling MGlobal::startErrorLogging("c:/Temp/myLog.txt");. I then tried to write a line into the log message with MGlobal::doErrorLogEntry("Log test"); but no result. All commands had a successful status.

0 Likes
Accepted solutions (1)
735 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

The problem seems to be solved. I closed Maya and opened it again and now logs are being written.

0 Likes