DebugViewPP icon indicating copy to clipboard operation
DebugViewPP copied to clipboard

Hide part of the message

Open BabetteWilmans opened this issue 8 years ago • 1 comments

We are working with a product that places rather large statements in the log file. In most cases I am only interested in the second part of the message. It would be great if we could hide a part of the debug statements.

For example:

2015-11-21 01:48:34.411 DEBUG c.a.i.portal.model.tx.FlowContext SessionId="" userId="" projectName="" projectVersion="" currentPageName="" - [pushActiveInstance] Activating instance for flow: NameOfTheFlow, instance: [TmsInstance instance=[TxEntityInstance [profile:EntityInstance (null,8df6eebe-fb03-4518-ac24-184b1d18650e,EntityName)]]]

In this case I would like to hide: SessionId, ProjectName, ProjectVersion, UserId -> I would use these to filter my log, they are not relevant to debugging but they do take op a lot of space in my window.

BabetteWilmans avatar Nov 21 '15 19:11 BabetteWilmans

@djeedjay : we could add a 'hide' filter to hide part of the message... for 'wildcard/regex' it could hide everything it matches and with regex-groups show only what is in groups?

janwilmans avatar Nov 21 '15 19:11 janwilmans