Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » remove command-line arguments from log file
remove command-line arguments from log file [message #663625] Tue, 05 April 2011 22:05 Go to next message
Mark Proe is currently offline Mark ProeFriend
Messages: 34
Registered: July 2009
Member
I was wondering if there is a way to configure what default information is written to the Eclipse log files? Specifically, I would like to not display the framework/command-line arguments. I am passing secure information between applications, and that is a problem if it appears in the log file like this.

For example, I do not want the ABC argument show up as it does below....


!ENTRY org.eclipse.equinox.registry 2 1 2011-04-04 15:58:00.039
!MESSAGE Problems parsing plug-in manifest for: "com.abc".
!SUBENTRY 1 org.eclipse.equinox.registry 2 1 2011-04-04 15:58:00.039
!MESSAGE Unknown element "requires", found within a "plugin", ignored (line: 13).
!SUBENTRY 1 org.eclipse.equinox.registry 2 1 2011-04-04 15:58:00.039
!MESSAGE Unknown element "import", found at the top level, ignored.

!ENTRY org.eclipse.ui 4 4 2011-04-04 15:58:06.336
!MESSAGE Unable to find Action Set: com.abc.ui.EditorActionSet
!SESSION 2011-04-04 15:59:33.256 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: /ABC=123

Command-line arguments: -os win32 -ws win32 -arch x86 -clean /ABC=123


Is this even possible?
Re: remove command-line arguments from log file [message #663631 is a reply to message #663625] Tue, 05 April 2011 23:13 Go to previous message
Mark Proe is currently offline Mark ProeFriend
Messages: 34
Registered: July 2009
Member
Looks like I can just wipe out the whole thing by doing this...

-Dosgi.hook.configurators.exclude=org.eclipse.core.runtime.i nternal.adaptor.EclipseLogHook


Not sure if this is the preferred way though.
Previous Topic:Cannot move project to other location
Next Topic:Refreshing a Markers view
Goto Forum:
  


Current Time: Fri Jan 22 04:41:58 GMT 2021

Powered by FUDForum. Page generated in 0.01921 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top