aboutsummaryrefslogtreecommitdiffstats
path: root/tests/loggingrb/loggingrb_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/loggingrb/loggingrb_test.c')
-rw-r--r--tests/loggingrb/loggingrb_test.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/loggingrb/loggingrb_test.c b/tests/loggingrb/loggingrb_test.c
index 0b2ae5b5..fd11896a 100644
--- a/tests/loggingrb/loggingrb_test.c
+++ b/tests/loggingrb/loggingrb_test.c
@@ -14,10 +14,6 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
*/
#include <osmocom/core/logging.h>
@@ -64,7 +60,9 @@ int main(int argc, char **argv)
ringbuf_target = log_target_create_rb(0x1000);
log_add_target(ringbuf_target);
log_set_all_filter(ringbuf_target, 1);
- log_set_print_filename(ringbuf_target, 0);
+ log_set_print_filename2(ringbuf_target, LOG_FILENAME_NONE);
+ log_set_print_category(ringbuf_target, 0);
+ log_set_print_category_hex(ringbuf_target, 0);
log_parse_category_mask(ringbuf_target, "DRLL:DCC");
log_parse_category_mask(ringbuf_target, "DRLL");