Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error logging not working

1 REPLY 1
SOLVED
Reply
Message 1 of 2
fawnha
457 Views, 1 Reply

Error logging not working

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.

1 REPLY 1
Message 2 of 2
fawnha
in reply to: fawnha

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report