Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 1 | #include <osmocom/core/utils.h> |
Neels Hofmeyr | 2f75803 | 2019-11-20 00:37:07 +0100 | [diff] [blame] | 2 | #include <osmocom/hlr/logging.h> |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 3 | |
| 4 | const struct log_info_cat hlr_log_info_cat[] = { |
| 5 | [DMAIN] = { |
| 6 | .name = "DMAIN", |
| 7 | .description = "Main Program", |
Neels Hofmeyr | 6eb231e | 2017-10-27 03:35:45 +0200 | [diff] [blame] | 8 | .enabled = 1, .loglevel = LOGL_NOTICE, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 9 | }, |
| 10 | [DDB] = { |
| 11 | .name = "DDB", |
| 12 | .description = "Database Layer", |
| 13 | .color = "\033[1;31m", |
Neels Hofmeyr | 6eb231e | 2017-10-27 03:35:45 +0200 | [diff] [blame] | 14 | .enabled = 1, .loglevel = LOGL_NOTICE, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 15 | }, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 16 | [DAUC] = { |
| 17 | .name = "DAUC", |
| 18 | .description = "Authentication Center", |
| 19 | .color = "\033[1;33m", |
Neels Hofmeyr | 6eb231e | 2017-10-27 03:35:45 +0200 | [diff] [blame] | 20 | .enabled = 1, .loglevel = LOGL_NOTICE, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 21 | }, |
Harald Welte | 95b96d4 | 2018-07-29 12:47:39 +0200 | [diff] [blame] | 22 | [DSS] = { |
| 23 | .name = "DSS", |
| 24 | .description = "Supplementary Services", |
| 25 | .color = "\033[1;34m", |
| 26 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 27 | }, |
Oliver Smith | bf7deda | 2019-11-20 10:56:35 +0100 | [diff] [blame] | 28 | [DMSLOOKUP] = { |
| 29 | .name = "DMSLOOKUP", |
| 30 | .description = "Mobile Subscriber Lookup", |
| 31 | .color = "\033[1;35m", |
| 32 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 33 | }, |
Neels Hofmeyr | ad868e2 | 2019-11-20 02:36:45 +0100 | [diff] [blame] | 34 | [DLU] = { |
| 35 | .name = "DLU", |
| 36 | .description = "Location Updating", |
| 37 | .color = "\033[1;33m", |
| 38 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 39 | }, |
Neels Hofmeyr | 76328bd | 2019-11-20 03:35:37 +0100 | [diff] [blame] | 40 | [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 Pedrol | d63ec88 | 2022-06-17 17:54:51 +0200 | [diff] [blame] | 46 | [DCTRL] = { |
| 47 | .name = "DCTRL", |
| 48 | .description = "Osmocom CTRL interface", |
| 49 | .color = "\033[1;30m", |
| 50 | .enabled = 1, .loglevel = LOGL_NOTICE, |
| 51 | }, |
Harald Welte | e72cf55 | 2016-04-28 07:18:49 +0200 | [diff] [blame] | 52 | }; |
| 53 | |
| 54 | const struct log_info hlr_log_info = { |
| 55 | .cat = hlr_log_info_cat, |
| 56 | .num_cat = ARRAY_SIZE(hlr_log_info_cat), |
| 57 | }; |