From 0b6bd0073b638bfad3968e4f1010d34e116577dd Mon Sep 17 00:00:00 2001
From: Christian Richter <christian.richter@beronet.com>
Date: Thu, 27 Apr 2006 08:23:53 +0000
Subject: [PATCH] put the default misdn.trace to /var/log/asterisk/misdn.log
 for better integration of existing log structure

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/misdn_config.c   | 2 +-
 configs/misdn.conf.sample | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/channels/misdn_config.c b/channels/misdn_config.c
index ee31441596..96156099cc 100644
--- a/channels/misdn_config.c
+++ b/channels/misdn_config.c
@@ -121,7 +121,7 @@ static const struct misdn_cfg_spec port_spec[] = {
 static const struct misdn_cfg_spec gen_spec[] = {
 	{ "debug", MISDN_GEN_DEBUG, MISDN_CTYPE_INT, "0", NONE },
 	{ "misdn_init", MISDN_GEN_MISDN_INIT, MISDN_CTYPE_STR, "/etc/misdn-init.conf", NONE },
-	{ "tracefile", MISDN_GEN_TRACEFILE, MISDN_CTYPE_STR, "/var/log/misdn.trace", NONE },
+	{ "tracefile", MISDN_GEN_TRACEFILE, MISDN_CTYPE_STR, "/var/log/asterisk/misdn.log", NONE },
 	{ "bridging", MISDN_GEN_BRIDGING, MISDN_CTYPE_BOOL, "yes", NONE },
 	{ "stop_tone_after_first_digit", MISDN_GEN_STOP_TONE, MISDN_CTYPE_BOOL, "yes", NONE },
 	{ "append_digits2exten", MISDN_GEN_APPEND_DIGITS2EXTEN, MISDN_CTYPE_BOOL, "yes", NONE },
diff --git a/configs/misdn.conf.sample b/configs/misdn.conf.sample
index 67c144bde9..b4751fc19b 100644
--- a/configs/misdn.conf.sample
+++ b/configs/misdn.conf.sample
@@ -29,7 +29,7 @@ debug=0
 ;
 ; default value: [not set]
 ;
-;tracefile=/var/log/misdn.trace
+;tracefile=/var/log/asterisk/misdn.log
 
 
 ; set to yes if you want mISDN_dsp to bridge the calls in HW
-- 
GitLab