Closed
Description
I'm attempting to create a custom layout to support RFC5424 (see #390), however, I receive a class not found error after compiling my layout and attempting to load the configuration. I attempted to replicate the example extension provided by documentation. However, after adding using namespace log4cxx
to resolve the compiler errors with the code, I receive the following error:
log4cxx: Could not create an Appender. Reported error follows.
log4cxx: Class not found: NullWriterAppender
log4cxx: No appender named [NullAppender] could be found.
Segmentation fault
I copied custom-appender.cpp verbatim, and copied the appender
and appender-ref
to my configuration file.
Any guidance or suggestions would be appreciated.
I am using Clang 14.0.6 x86_64-pc-linux-gnu
Metadata
Metadata
Assignees
Labels
No labels