blob: 6f0f3d2a1a4e96800447d64e12cd70e5ba3c1b1f [file] [log] [blame]
Harald Weltee72cf552016-04-28 07:18:49 +02001#include <osmocom/core/utils.h>
Neels Hofmeyr2f758032019-11-20 00:37:07 +01002#include <osmocom/hlr/logging.h>
Harald Weltee72cf552016-04-28 07:18:49 +02003
4const struct log_info_cat hlr_log_info_cat[] = {
5 [DMAIN] = {
6 .name = "DMAIN",
7 .description = "Main Program",
Neels Hofmeyr6eb231e2017-10-27 03:35:45 +02008 .enabled = 1, .loglevel = LOGL_NOTICE,
Harald Weltee72cf552016-04-28 07:18:49 +02009 },
10 [DDB] = {
11 .name = "DDB",
12 .description = "Database Layer",
13 .color = "\033[1;31m",
Neels Hofmeyr6eb231e2017-10-27 03:35:45 +020014 .enabled = 1, .loglevel = LOGL_NOTICE,
Harald Weltee72cf552016-04-28 07:18:49 +020015 },
Harald Weltee72cf552016-04-28 07:18:49 +020016 [DAUC] = {
17 .name = "DAUC",
18 .description = "Authentication Center",
19 .color = "\033[1;33m",
Neels Hofmeyr6eb231e2017-10-27 03:35:45 +020020 .enabled = 1, .loglevel = LOGL_NOTICE,
Harald Weltee72cf552016-04-28 07:18:49 +020021 },
Harald Welte95b96d42018-07-29 12:47:39 +020022 [DSS] = {
23 .name = "DSS",
24 .description = "Supplementary Services",
25 .color = "\033[1;34m",
26 .enabled = 1, .loglevel = LOGL_NOTICE,
27 },
Oliver Smithbf7deda2019-11-20 10:56:35 +010028 [DMSLOOKUP] = {
29 .name = "DMSLOOKUP",
30 .description = "Mobile Subscriber Lookup",
31 .color = "\033[1;35m",
32 .enabled = 1, .loglevel = LOGL_NOTICE,
33 },
Neels Hofmeyrad868e22019-11-20 02:36:45 +010034 [DLU] = {
35 .name = "DLU",
36 .description = "Location Updating",
37 .color = "\033[1;33m",
38 .enabled = 1, .loglevel = LOGL_NOTICE,
39 },
Neels Hofmeyr76328bd2019-11-20 03:35:37 +010040 [DDGSM] = {
41 .name = "DDGSM",
42 .description = "Distributed GSM: MS lookup and proxy",
43 .color = "\033[1;35m",
44 .enabled = 1, .loglevel = LOGL_NOTICE,
45 },
Pau Espin Pedrold63ec882022-06-17 17:54:51 +020046 [DCTRL] = {
47 .name = "DCTRL",
48 .description = "Osmocom CTRL interface",
49 .color = "\033[1;30m",
50 .enabled = 1, .loglevel = LOGL_NOTICE,
51 },
Harald Weltee72cf552016-04-28 07:18:49 +020052};
53
54const struct log_info hlr_log_info = {
55 .cat = hlr_log_info_cat,
56 .num_cat = ARRAY_SIZE(hlr_log_info_cat),
57};