CobaltFusion / DebugViewPP

DebugView++, collects, views, filters your application logs, and highlights information that is important to you!
Boost Software License 1.0
982 stars 144 forks source link

Would like to be able to filter by PID #299

Closed GregB-Roberts closed 5 years ago

GregB-Roberts commented 6 years ago

Hi

In my context there are 5 processes of the same name, and I would like to filter by the process PID

The work around is to save the log and grep for the pid and resave the output, but obviously this cant be done in real time.

Thanks

janwilmans commented 6 years ago

thanks for your suggestion! how would you feel about being able to rename a process ? Then it could be filtered by name again... see also #114

janwilmans commented 5 years ago

alternatively, we could add an option to prefix the processID to the message like dbgview does

[PID] message

ie:

[4440] Message without newline  (tid: 9001)
[4440] Message without newline  (tid: 9001)

then it could be filtered by message content again

janwilmans commented 5 years ago

as #99 and #114 suggested, renaming the process is better because that way it is easier to interpret the data after saving+loading it later.

DannyBunny commented 5 years ago

Adding an option to output the [PID] as the message prefix is a good solution. I personally don't have the need to rename a process, but I guess that would help in filtering on the specific process as well, as long as the renaming is done per PID.