[asterisk-users] verbose logging to file in 1.4

Benko benkokakao at gmail.com
Wed Oct 4 03:44:49 MST 2006


Hello!

How can i change the verbose logging level to a file in 1.4? 
In 1.2 i was used to set the verbose level via asterisk -Rx 'set
verbose 5' but in 1.4 it is always reset to OFF again, so (nearly)
nothing is logged to /var/lib/asterisk/verbose:

---test2 asterisk # asterisk -Rx 'core verbose 5'
---Verbosity was 0 and is now 5
---Verbosity is now OFF
---test2 asterisk # 


Verbose logging with level 5 to the file only works when i log in to
the console and issue the core-command(but is set to OFF again when
logging out).

my logger.conf for the relevant part:

++++++++++++++
[general]
appendhostname = yes

[logfiles]

console => notice,warning,error,verbose
messages => notice,warning,error
verbose => verbose,notice,warning,error
+++++++++++++++++++


is it possible in 1.4 to log verbosely to a file without beeing logged
in to the console?

thx&regards
Christian


More information about the asterisk-users mailing list