systemd/python-systemd

Log to a specific journal namespace

GreatBahram opened this issue · 3 comments

Hello there,

Recently systemd guys added the namespace feature, I want to log to a specific journal namespace inside my Python code, How can I achieve this behaviour? Can I do this without waiting for the future updates by, like using the _NAMESPACE keyword variable? or any other way?

Thanks,
Bahram

Would this fix it for you: #87 ?

Yes, this is exactly what I wanted.

Thanks

How does #87 allow writing to a journal namespace? I need to be able to log new messages, not read existing ones.