Conversation
|
As this is my first pull request for Znuny, I would really love some help on how to test this 😅 In theory the Also, I'm really unsure about the licence header. I basically copied the |
|
I marked this as DRAFT because I'm unsure about the |
|
@dennykorsukewitz can you assist/provide examples? |
Found the ZnunyCodePolicy repo. Now I'm sure about the licence header. |
Hi @killermoehre , |
dennykorsukewitz
left a comment
There was a problem hiding this comment.
Thank you very much for your pull request. 👍🏼 🚀
I just took a quick look at it and I'm not familiar with the journal yet.
I found a few things here that are worth taking a closer look at:
- ObjectDependencies are missing
- Lines and modules are not the only parameters. what about Priority
- What about the encoding (character set)? Check Kernel/System/Log/SysLog.pm
- SysConfig
- LogModule::Journal::SocketPath
- LogModule::Journal::Charset ?
- Right now, I don't see where the actual message is added...
- UnitTest (as you said yourself) scripts/test/Log/Journal.t - The base file would be scripts/test/Log.t
I hope I didn't scare you and that this is helpful for now.
Keep going 🚀
Get the required value from `systemctl show systemd-journald.socket -P Listen| grep Datagram`
Added.
That's where I need some guidance, @dennykorsukewitz. What fields are available?
The journal just reads everything as utf-8. No need to transform.
Added.
Not necessary.
The messages are added to the systemd-journal. You see them with
Thanks. Will write the unit test and probably cry for help.
Very helpful, will keep going. |
Proposed change
Add a new logging backend to log directly in
systemd-journaldwith its native protocol. This allows for more meta data with each log line ans also proper multi line logs.Type of change
Checklist