<commit_before><launch>
    <arg name="white_list_file" default="$(find aaf_logging)/config/white_list_aaf.yaml" />
    <arg name="current_node_topic" default="/current_node"/>
    <arg name="closest_node_topic" default="/closest_node"/>
    <arg name="use_closest_node" default="true"/>
    <arg name="edge_topic" default="/current_edge"/>
    <arg name="check_topic_rate" default="1"/>
    <arg name="publishing_rate" default="30"/>
    <arg name="bool_publisher_topic" default="/logging_manager/log"/>
    <arg name="bool_stamped_publisher_topic" default="/logging_manager/log_stamped"/>
    <arg name="mongodb_host" default="localhost"/>
    <arg name="mongodb_port" default="62345"/>

    <arg name="machine" default="localhost" />
    <arg name="user" default="" />

    <machine name="$(arg machine)" address="$(arg machine)" env-loader="$(optenv ROS_ENV_LOADER )" user="$(arg user)" default="false"/>

    <node pkg="aaf_logging" type="start_stop_logging.py" name="logging_server" output="screen" respawn="true"/>

    <node pkg="aaf_logging" type="store_logs_task.py" name="store_logs" output="screen" respawn="true">
	<param name="database" value="message_store" />
	<param name="collections" value="[message_store, nav_stats, monitored_nav_events, people_perception, scheduling_problems, task_events, upper_bodies]" />
	<param name="past_hours" value="24" />
    </node>

    <include file="$(find topological_logging_manager)/launch/manager.launch">
        <arg name="machine" value="$(arg machine)"/>
        <arg name="user" value="$(arg user)"/>
        <arg name="white_list_file" value="$(arg white_list_file)"/>
        <arg name="current_node_topic" value="$(arg current_node_topic)"/>
        <arg name="closest_node_topic" value="$(arg closest_node_topic)"/>
        <arg name="use_closest_node" value="$(arg use_closest_node)"/>
        <arg name="edge_topic" value="$(arg edge_topic)"/>
        <arg name="check_topic_rate" value="$(arg check_topic_rate)" />
        <arg name="publishing_rate" value="$(arg publishing_rate)"/>
        <arg name="bool_publisher_topic" value="$(arg bool_publisher_topic)"/>
        <arg name="bool_stamped_publisher_topic" value="$(arg bool_stamped_publisher_topic)"/>
    </include>

    <node pkg="aaf_logging" type="filter_rosout.py" name="filter_rosout" output="screen" respawn="true"/>
    <node pkg="mongodb_log" type="mongodb_log_tf" name="tf_logger" output="screen" respawn="true" args="-t /tf -m $(arg mongodb_host):$(arg mongodb_port) -n tf_logger -c roslog.tf -k 0.1 -l 0.1 -g 60 -a"/>

    <!--
    <include file="$(find aaf_logging)/launch/topics.launch">
        <arg name="machine" value="$(arg machine)"/>
        <arg name="user" value="$(arg user)"/>
    </include>
    -->

</launch><commit_msg>Starting the log monitoring in launch file<commit_after><launch>
    <arg name="white_list_file" default="$(find aaf_logging)/config/white_list_aaf.yaml" />
    <arg name="current_node_topic" default="/current_node"/>
    <arg name="closest_node_topic" default="/closest_node"/>
    <arg name="use_closest_node" default="true"/>
    <arg name="edge_topic" default="/current_edge"/>
    <arg name="check_topic_rate" default="1"/>
    <arg name="publishing_rate" default="30"/>
    <arg name="bool_publisher_topic" default="/logging_manager/log"/>
    <arg name="bool_stamped_publisher_topic" default="/logging_manager/log_stamped"/>
    <arg name="mongodb_host" default="localhost"/>
    <arg name="mongodb_port" default="62345"/>

    <arg name="machine" default="localhost" />
    <arg name="user" default="" />

    <machine name="$(arg machine)" address="$(arg machine)" env-loader="$(optenv ROS_ENV_LOADER )" user="$(arg user)" default="false"/>

    <node pkg="aaf_logging" type="start_stop_logging.py" name="logging_server" output="screen" respawn="true"/>

    <node pkg="aaf_logging" type="store_logs_task.py" name="store_logs" output="screen" respawn="true">
	<param name="database" value="message_store" />
	<param name="collections" value="[message_store, nav_stats, monitored_nav_events, people_perception, scheduling_problems, task_events, upper_bodies]" />
	<param name="past_hours" value="24" />
    </node>

    <include file="$(find topological_logging_manager)/launch/manager.launch">
        <arg name="machine" value="$(arg machine)"/>
        <arg name="user" value="$(arg user)"/>
        <arg name="white_list_file" value="$(arg white_list_file)"/>
        <arg name="current_node_topic" value="$(arg current_node_topic)"/>
        <arg name="closest_node_topic" value="$(arg closest_node_topic)"/>
        <arg name="use_closest_node" value="$(arg use_closest_node)"/>
        <arg name="edge_topic" value="$(arg edge_topic)"/>
        <arg name="check_topic_rate" value="$(arg check_topic_rate)" />
        <arg name="publishing_rate" value="$(arg publishing_rate)"/>
        <arg name="bool_publisher_topic" value="$(arg bool_publisher_topic)"/>
        <arg name="bool_stamped_publisher_topic" value="$(arg bool_stamped_publisher_topic)"/>
    </include>

    <node pkg="aaf_logging" type="filter_rosout.py" name="filter_rosout" output="screen" respawn="true"/>
    <node pkg="mongodb_log" type="mongodb_log_tf" name="tf_logger" output="screen" respawn="true" args="-t /tf -m $(arg mongodb_host):$(arg mongodb_port) -n tf_logger -c roslog.tf -k 0.1 -l 0.1 -g 60 -a"/>

    <node pkg="aaf_monitor_logs" type="monitor_logs.py" name="monitor_logs" output="screen" respawn="true"/>

    <!--
    <include file="$(find aaf_logging)/launch/topics.launch">
        <arg name="machine" value="$(arg machine)"/>
        <arg name="user" value="$(arg user)"/>
    </include>
    -->

</launch>
{'fraction_non_alphanumeric': 0.17725752508361203, 'fraction_numerical': 0.005632811124801971, 'mean_word_length': 4.968487394957983, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 88, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2626244', 'n_tokens_mistral': 1923, 'n_tokens_neox': 1795, 'n_words': 349}