BUG: Vensim (macOS) shouldn't write error to user home dir

Use this forum to post Vensim related questions.
Post Reply
Travis
Senior Member
Posts: 141
Joined: Tue Jul 15, 2008 8:42 pm

BUG: Vensim (macOS) shouldn't write error to user home dir

Post by Travis »

Every time I run Vensim and error log gets created in my home directory. Vensim is the only app that does this. It isn't the correct place to write error logs. Please have it write to the correct directory.
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: BUG: Vensim (macOS) shouldn't write error to user home dir

Post by Administrator »

What would the correct directory be?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: BUG: Vensim (macOS) shouldn't write error to user home dir

Post by tomfid »

Travis
Senior Member
Posts: 141
Joined: Tue Jul 15, 2008 8:42 pm

Re: BUG: Vensim (macOS) shouldn't write error to user home dir

Post by Travis »

That page seems right. It should be in the same place that all macOS apps write their logs, so they can be view in /Utilities/Console.app.
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: BUG: Vensim (macOS) shouldn't write error to user home dir

Post by tomfid »

I think we can't implement the system logging easily because it's not a cross-platform API. But we could easily write to the legacy location /etc/system.log .
Travis
Senior Member
Posts: 141
Joined: Tue Jul 15, 2008 8:42 pm

Re: BUG: Vensim (macOS) shouldn't write error to user home dir

Post by Travis »

Is the logging system you're using part of wxWidgets?

I've had a mylog() function that is #ifdef'd differently based on platform, calling different system logging functions when compiled. Not sure how many layers you're working with though.
Post Reply