Open rr-tom-noble opened 2 weeks ago
Ah, I think the version of liblog4cxx-dev
doesn't come with JSONLayout
installed:
tom@machine:~$ dpkg -L liblog4cxx-dev | grep layout
/usr/include/log4cxx/helpers/datelayout.h
/usr/include/log4cxx/htmllayout.h
/usr/include/log4cxx/layout.h
/usr/include/log4cxx/patternlayout.h
/usr/include/log4cxx/simplelayout.h
/usr/include/log4cxx/ttcclayout.h
/usr/include/log4cxx/xml/xmllayout.h
I'm attempting to format all of my ROS logs as JSON. From what I understand, rosconsole uses log4cxx, which appears to come with a JSONLayout
Using the following
rosconsole.conf
file works fine:However, replacing the
PatternLayout
with aJSONLayout
causes the following error: