Describe the bug
Long messages to the errorlog get truncated if you run an ioc using softIocPVX (or something similar).
Ordinarily, you can call
(or some such large number) early on in an IOC startup script to override this. However, PVXS has a logging call that calls errlogInit() early on which prevents you from overwriting the buffer size.
To Reproduce
Steps to reproduce the behavior:
- Create an IOC that will produce a longer-than-256 character error log
- Run it
- oops
Expected behavior
It should be possible to override the error log messages size to avoid this issue
Information (please complete the following):
- PVXS Version or Git commit ID: 1.3.3
- EPICS Base Version: 7.0.8.1
- libevent Version: n/a
- EPICS_HOST_ARCH: n/a
- Compiler version: n/a
The versions above likely do not matter however.