I am working on an application where I need the registration and filtering function. I am using C ++. I found out about the log4cxx logging protocol.
It's hard for me to filter.
I have five fields
- MAcID
- date and time
- Team type
- Status
- Text Msg
I need to save these 5 fields in a log file and filter it also based on the filter below. Registration and filtering will be performed at runtime. As soon as the file size reaches 10 MiB, it will begin to overwrite the file from the very beginning.
Filtering options
1. MAcID
2. date and time
Filtering can be performed by filtering one or both. The result should return the entire field to the log file.
- Is it possible to store more than one field in a log file using log4CXX?
- ?
- , ?
- 5 ?