BUG: Vensim (macOS) shouldn't write error to user home dir
BUG: Vensim (macOS) shouldn't write error to user home dir
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.
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: BUG: Vensim (macOS) shouldn't write error to user home dir
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: BUG: Vensim (macOS) shouldn't write error to user home dir
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: BUG: Vensim (macOS) shouldn't write error to user home dir
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.
Re: BUG: Vensim (macOS) shouldn't write error to user home dir
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 .
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: BUG: Vensim (macOS) shouldn't write error to user home dir
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.
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.