blob: c79e493fa64ca3c632b629890ed2500dd9816a5f [file] [log] [blame]
Holger Hans Peter Freyther9c7fd8e2014-12-04 16:32:37 +01001/*
2 * (C) 2014 by Holger Hans Peter Freyther
3 */
4#include "syserr.h"
5
6#include <osmocom/core/utils.h>
7
8static const struct log_info_cat default_categories[] = {
9 [DIP] = {
10 .name = "DIP",
11 .description = "IP Pool and other groups",
12 .enabled = 1, .loglevel = LOGL_NOTICE,
13 },
14 [DTUN] = {
15 .name = "DTUN",
16 .description = "Tunnel interface",
17 .enabled = 1, .loglevel = LOGL_NOTICE,
18 },
19 [DGGSN] = {
20 .name = "DGGSN",
21 .description = "GGSN",
22 .enabled = 1, .loglevel = LOGL_NOTICE,
23 },
24 [DSGSN] = {
25 .name = "DSGSN",
26 .description = "SGSN Emulator",
Pau Espin Pedrolfcdaf312020-04-09 20:29:02 +020027 .enabled = 1, .loglevel = LOGL_INFO,
Holger Hans Peter Freyther9c7fd8e2014-12-04 16:32:37 +010028 },
Harald Welted46bcd22017-08-08 23:27:22 +020029 [DICMP6] = {
30 .name = "DICMP6",
31 .description = "ICMPv6",
Philipp Maier53244a22020-03-25 12:05:24 +010032 .enabled = 1, .loglevel = LOGL_NOTICE,
Harald Welted46bcd22017-08-08 23:27:22 +020033 },
Holger Hans Peter Freyther9c7fd8e2014-12-04 16:32:37 +010034};
35
36const struct log_info log_info = {
37 .cat = default_categories,
38 .num_cat = ARRAY_SIZE(default_categories),
39};