|Anonymous | Login | Signup for a new account||2018-03-22 04:29 UTC|
|Main | My View | View Issues | Roadmap | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000747||EMStudio||General||public||2012-10-16 15:46||2013-01-15 10:24|
|Target Version||0.0.1||Fixed in Version|
|Summary||0000747: Better file handling for log output dirs|
|Description||See parent 0000744|
|Tags||No tags attached.|
|This may be OK as is, however I've seen the directories moving around by themselves, so I'm suspicious.|
edited on: 2013-01-14 23:56
According to Fred, a dmg image installed package on OSX uses the applications directory for logs. (oops! That's bad)
According to me, Windows does it in C:\Program Files\EMStudio, and Linux does it locally wherever the application is run (bad!) This needs to be changed fairly soon.
Fred: Is the env variable HOME valid on OSX? Eg, would I be allowed to default to $HOME/.EMStudio/logs?
Should logs be inside .EMStudio, or somewhere else? It needs a default location, until the user changes it.
$HOME should be valid, however it may not be the best place to put them on OSX. It is one of the valid places though. Logs should definitely not go inside a hidden directory, however. They should go in an EMStudio/logs/ directory or similar, by default.
and another that I forget right now.
On Linux ~/ is the right choice.
On Win, it's hard to say, but either desktop or somewhere in user data or similar.
FWIW MrOnion said his logs dumped somewhere else.
Careful not to confuse current/working dir with home dir.
We have a ~/.EMStudio/ hidden folder for configuration, should this be changed to be ~/EMStudio, or should there be two folders?
On windows, there are two locations, AppData, and My Documents. Configuration goes in AppData, and logs should go in My Documents... but the more I think about it, the more I think that everything should go in My Documents or ~/EMStudio, and nothing should be hidden.
Most Linux installs have a $HOME/Documents folder, I consider that akin to My Documents. Though while appropriate to use that on windows for application documents, I don't know how valid that concept is on linux/osx?
I think the config and other "sytem level" files should stay hidden/tucked away. Device config/tunes/logs/logdefs etc should NOT be hidden and are day-to-day bread and butter files that a user will deal with and copy and email and upload and maintain etc.
This separation exists on all platforms, but the dirs for each are distinct.
|Copyright © 2000 - 2011 MantisBT Group|