-
Notifications
You must be signed in to change notification settings - Fork 0
/
ros2-test.conf
23 lines (20 loc) · 887 Bytes
/
ros2-test.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# ROS Test Setting
#
# This is an test configuration file for for rcl_logging_syslog.
#
# For more information install rsyslog-doc and see
# /usr/share/doc/rsyslog-doc/html/configuration/index.html
#
# Test Message Format Template
# See more details for https://www.rsyslog.com/doc/configuration/properties.html
#$template TestFormat,"%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n"
$template TestFormat,"%msg:2:$%\n"
# Directory and File Name Test Template
# See more details for https://www.rsyslog.com/doc/configuration/properties.html
### e.g) /var/log/ros/rcl_logging_syslog/test_logging_interface_1405655_1727291103.log
$template TestFileName,"/var/log/ros/rcl_logging_syslog/%programname%_%procid%_%$now-unixtimestamp%.log"
# Log locally with specified templated file name.
local1.* ?TestFileName;TestFormat
local2.* ?TestFileName;TestFormat
local3.* ?TestFileName;TestFormat