blob: 83423dc276dd1ee138bdc65c8544597e0607bded [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",
27 .enabled = 1, .loglevel = LOGL_NOTICE,
28 },
Harald Welted46bcd22017-08-08 23:27:22 +020029 [DICMP6] = {
30 .name = "DICMP6",
31 .description = "ICMPv6",
32 .enabled = 1, .loglevel = LOGL_DEBUG,
33 },
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};