apache / celix

Apache Celix is a framework for C and C++14 to develop dynamic modular software applications using component and in-process service-oriented programming.
https://celix.apache.org/
Apache License 2.0
167 stars 88 forks source link

Use ERR to replace all error logging to stderr/stdout #539

Open PengZheng opened 1 year ago

PengZheng commented 1 year ago

Once #536 gets merged, we shall use ERR extensively for error logging in modules without bundle context. An example of this is shm_pool:

https://github.com/apache/celix/blob/c0666d0ec501c54852198a18cf46eda69552ee50/bundles/remote_services/remote_service_admin_shm_v2/shm_pool/src/shm_pool.c#L46-L54

PengZheng commented 1 year ago

As observed in https://github.com/apache/celix/pull/673#pullrequestreview-1689187071, there are remaining usages of stderr/stdout for logging.