From 4bd366a92660f8b650c7c640d76659326dc90751 Mon Sep 17 00:00:00 2001
From: Paul Belanger <paul.belanger@polybeacon.com>
Date: Mon, 26 Jul 2010 19:58:12 +0000
Subject: [PATCH] Merged revisions 279566 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r279566 | pabelanger | 2010-07-26 15:51:39 -0400 (Mon, 26 Jul 2010) | 8 lines

  Add documentation for FAX logger level.

  (closes issue #17715)
  Reported by: vrban
  Patches:
        17715.patch uploaded by pabelanger (license 224)
  Tested by: vrban
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@279567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 CHANGES                    | 2 ++
 UPGRADE-1.8.txt            | 3 +++
 configs/logger.conf.sample | 3 ++-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CHANGES b/CHANGES
index b16879a615..05df54e6be 100644
--- a/CHANGES
+++ b/CHANGES
@@ -490,6 +490,8 @@ Fax
  * A spandsp based fax backend (res_fax_spandsp) has been added.
  * The app_fax module has been deprecated in favor of the res_fax module and
    the new res_fax_spandsp backend.
+ * A new FAX logger level has been created for spandsp replacing the DEBUG logger
+   level. The logger.conf.sample file has been update to include an example. 
 
 Miscellaneous
 -------------
diff --git a/UPGRADE-1.8.txt b/UPGRADE-1.8.txt
index 677fdb7c21..a256297ebd 100644
--- a/UPGRADE-1.8.txt
+++ b/UPGRADE-1.8.txt
@@ -106,6 +106,9 @@ From 1.6.2 to 1.8:
   482 Loop Detected response. The dialplan will just continue from where it
   left off.
 
+* All fax-related messages from spandsp, that previously went to DEBUG logger
+  level, will now be logged to a FAX logger if possible.
+
 From 1.6.1 to 1.6.2:
 
 * SIP no longer sends the 183 progress message for early media by
diff --git a/configs/logger.conf.sample b/configs/logger.conf.sample
index 0d90c80b7e..87e8f42293 100644
--- a/configs/logger.conf.sample
+++ b/configs/logger.conf.sample
@@ -75,6 +75,7 @@
 ;    error
 ;    verbose
 ;    dtmf
+;    fax
 ;
 ; Special filename "console" represents the system console
 ;
@@ -106,7 +107,7 @@
 console => notice,warning,error
 ;console => notice,warning,error,debug
 messages => notice,warning,error
-;full => notice,warning,error,debug,verbose
+;full => notice,warning,error,debug,verbose,dtmf,fax
 
 ;syslog keyword : This special keyword logs to syslog facility
 ;
-- 
GitLab