From 1f36c492680bf84343aa31225a899411eef60443 Mon Sep 17 00:00:00 2001 From: Johannes Mey <johannes.mey@tu-dresden.de> Date: Tue, 21 Feb 2023 15:35:24 +0100 Subject: [PATCH] add logging settings file --- configure_console_output.sh | 2 ++ rosconsole.config | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 rosconsole.config diff --git a/configure_console_output.sh b/configure_console_output.sh index aed6769..9834473 100755 --- a/configure_console_output.sh +++ b/configure_console_output.sh @@ -1,2 +1,4 @@ +#!/bin/bash export ROSCONSOLE_FORMAT='[${time:%H:%M:%S}] [${node}]: ${message}' +export ROSCONSOLE_CONFIG_FILE="`pwd`/rosconsole.config" diff --git a/rosconsole.config b/rosconsole.config new file mode 100644 index 0000000..646a2de --- /dev/null +++ b/rosconsole.config @@ -0,0 +1,10 @@ +# +# rosconsole will find this file by default at $ROS_ROOT/config/rosconsole.config +# +# You can define your own by e.g. copying this file and setting +# ROSCONSOLE_CONFIG_FILE (in your environment) to point to the new file +# +log4j.logger.ros=INFO +log4j.logger.ros.roscpp.superdebug=WARN +log4j.logger.ros.ccf_immersive_sorting=INFO + -- GitLab