问题
Could I change or configure default log file location of eclipse ? the default location is .medadata and default name is .log
I want to make them configurable.
Any hints will be more than welcome!
回答1:
Eclipse Log File Location is: workspace_location/.metadata/.log
You can set the workspace in the eclipse.ini with -Dosgi.instance.area.default or -data, for example
-Dosgi.instance.area.default=@user.home/AppData/Roaming/WorkspaceDirectory
see The Eclipse runtime options for more details.
Btw, with -showLocation, you can display the workspace path of the current workspace in the window title bar of a running eclipse.
来源:https://stackoverflow.com/questions/49382174/could-i-change-or-configure-default-log-file-location-of-eclipse