remove debug
[lttng-tools.git] / src / bin / lttng-sessiond / rotate.c
index c8b6bc64806b7c58ccf6fda7bea41ff08702f145..5dc3bea63adf12b18e77e242b36d9cecf40b3123 100644 (file)
@@ -223,9 +223,6 @@ int rename_complete_chunk(struct ltt_session *session, time_t ts)
                                datetime, session->rotate_count);
 
                if (session->kernel_session) {
-                       fprintf(stderr, "rename %s/kernel to %s\n",
-                                       session->rotation_chunk.current_rotate_path,
-                                       new_path);
                        ret = rename_first_chunk(session,
                                        session->kernel_session->consumer,
                                        new_path);
@@ -243,9 +240,6 @@ int rename_complete_chunk(struct ltt_session *session, time_t ts)
                        }
                }
                if (session->ust_session) {
-                       fprintf(stderr, "rename %s/ust to %s\n",
-                                       session->rotation_chunk.current_rotate_path,
-                                       new_path);
                        ret = rename_first_chunk(session,
                                        session->ust_session->consumer,
                                        new_path);
@@ -263,11 +257,6 @@ int rename_complete_chunk(struct ltt_session *session, time_t ts)
                snprintf(new_path, PATH_MAX, "%s%s-%" PRIu64,
                                session->rotation_chunk.current_rotate_path,
                                datetime, session->rotate_count);
-
-               fprintf(stderr, "rename %s to %s\n",
-                               session->rotation_chunk.current_rotate_path,
-                               new_path);
-
                ret = session_rename_chunk(session,
                                session->rotation_chunk.current_rotate_path,
                                new_path);
This page took 0.024397 seconds and 5 git commands to generate.