react-logviewer icon indicating copy to clipboard operation
react-logviewer copied to clipboard

Support standardized log formats

Open lukas-mertens opened this issue 1 year ago • 7 comments

I think it would be a nice addition if the log viewer would allow parsing standardized log formats, starting with structured json logs. It would be nice to display them in a human readable form, maybe provide a toggle to switch on/off the parsing.

This would also allow merging multiple logs into one logviewer by timestamp. What do you think about such a feature?

If you like it, I would be open to contribute such a feature

lukas-mertens avatar May 08 '24 07:05 lukas-mertens

PRs are always welcome here!

melloware avatar May 08 '24 08:05 melloware

@melloware I just had a quick read through the CONTRIBUTING.md. I have a few questions regarding that:

  1. It says that contributions are under MIT license. But the project is licensed under MPL. Is this even compatible? As far as I understand MPL contributions in the same files as MPL can't be MIT as the copyleft clause would be lost
  2. It says that contributions are only to be done by individuals. What about employers which give their employees a certain amount of time to work on open source projects during work time. It feels a bit strange to block such contributions. Or do you only block contributions where the employer would be visible, so no advertising?

lukas-mertens avatar May 08 '24 11:05 lukas-mertens

  1. Let me fix that!
  2. Yes that is perfectly acceptable it just means "your employer does not own or have any rights to this work its being contributed by you for use in the community!".

melloware avatar May 08 '24 11:05 melloware

OK updated to MPL that was a cut and past Contributing.MD from another project.

melloware avatar May 08 '24 11:05 melloware

@lukas-mertens still interested in doing this?

melloware avatar May 18 '24 02:05 melloware

@melloware I am. It will take a bit of time though. Probably during the next 2-3 weeks. If you have time right now, feel free to go ahead of course.

lukas-mertens avatar May 18 '24 09:05 lukas-mertens

Nope i was just checking to make sure you were still interested. Leaving it assigned to you.

melloware avatar May 18 '24 13:05 melloware