mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
				synced 2025-11-03 21:53:25 +00:00 
			
		
		
		
	In debug.c the log category DICMP6 uses LOGL_DEBUG as default. This is way to verbose, lets use LOGL_NOTICE instead. Change-Id: I4c6a9165114d1240e7e2cfa98d30d571a3f4e9d2 Related: OS#2577
		
			
				
	
	
		
			40 lines
		
	
	
		
			822 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			822 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * (C) 2014 by Holger Hans Peter Freyther
 | 
						|
 */
 | 
						|
#include "syserr.h"
 | 
						|
 | 
						|
#include <osmocom/core/utils.h>
 | 
						|
 | 
						|
static const struct log_info_cat default_categories[] = {
 | 
						|
	[DIP] = {
 | 
						|
		.name = "DIP",
 | 
						|
		.description = "IP Pool and other groups",
 | 
						|
		.enabled = 1, .loglevel = LOGL_NOTICE,
 | 
						|
	},
 | 
						|
	[DTUN] = {
 | 
						|
		.name = "DTUN",
 | 
						|
		.description = "Tunnel interface",
 | 
						|
		.enabled = 1, .loglevel = LOGL_NOTICE,
 | 
						|
	},
 | 
						|
	[DGGSN] = {
 | 
						|
		.name = "DGGSN",
 | 
						|
		.description = "GGSN",
 | 
						|
		.enabled = 1, .loglevel = LOGL_NOTICE,
 | 
						|
	},
 | 
						|
	[DSGSN] = {
 | 
						|
		.name = "DSGSN",
 | 
						|
		.description = "SGSN Emulator",
 | 
						|
		.enabled = 1, .loglevel = LOGL_INFO,
 | 
						|
	},
 | 
						|
	[DICMP6] = {
 | 
						|
		.name = "DICMP6",
 | 
						|
		.description = "ICMPv6",
 | 
						|
		.enabled = 1, .loglevel = LOGL_NOTICE,
 | 
						|
	},
 | 
						|
};
 | 
						|
 | 
						|
const struct log_info log_info = {
 | 
						|
	.cat = default_categories,
 | 
						|
	.num_cat = ARRAY_SIZE(default_categories),
 | 
						|
};
 |