epics-modules / caPutLog

Channel Access Put Logger, from DESY/BESSY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot have JSON and non-JSON logger at the same time

dirk-zimoch opened this issue · comments

Because the new JSON logger and the old non-JSON logger are implemented independently but both access the same global resources from caPutLogAs.c, they cannot be used to the same time.

I don't have any objections to it being possible to use both loggers at the same time, but as I said in #8 we decided that moving to JSON would make it easier to handle the logged data (we wouldn't have to develop a parser for the existing format which wasn't designed with parsing in mind). The APS Upgrade project was willing to fund the JSON development work, and it was easier to implement that as a simple alternative than to work out how to allow both.

No problem, I was simply having a transition period in mind where people may want to use both loggers at the same time. But if that was never intended, that's fine for me. In that case I need not spend an time on making this use case work.

Implemented in #15