BUG Log Files Empty - Possible Bug

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Today, went to review the log files - they are empty. I did upgrade the logfiles module : UPDATE NOTICE: There is 1 module available for online upgrade logfiles 2.11.0.8 (current: 2.11.0.7) - Feb 26 - This upgrade was done on 3/1 at 0734 - I always make a backup prior to executing these.

root@pbx:/var/log/asterisk $ ls -al ful*
-rw-rw---- 1 asterisk asterisk 0 Mar 2 03:45 full
-rw-rw-r-- 1 asterisk asterisk 456 Feb 7 14:16 full.0
-rw-rw---- 1 asterisk asterisk 302300 Feb 26 03:34 full-20140226
-rw-rw---- 1 asterisk asterisk 194266 Feb 27 03:43 full-20140227
-rw-rw---- 1 asterisk asterisk 168114 Feb 28 03:38 full-20140228
-rw-rw---- 1 asterisk asterisk 7868981 Mar 1 03:38 full-20140301
-rw-rw---- 1 asterisk asterisk 2104 Mar 1 07:34 full-20140302

Since I have rebooted the system to see if anything would log to the system - still empty. It appears nothing is getting written there, even after changing a trunk/extension and saving.

This system:
PIAF Installed Version = 2.0.6.5 under *HARDWARE* │
│ FreePBX Version = 2.11.0.24 │
│ 2.11 │
│ Running Asterisk Version = 11.7.0 │
│ Asterisk Source Version = 11.7.0 │
│ Dahdi Source Version = 2.8.0.1 │
│ Libpri Source Version = 1.4.14 │
│ IP Address = 192.168.1.123 on eth0 │
│ Operating System = CentOS release 6.5 (Final) │
│ Kernel Version = 2.6.32-431.1.2.0.1.el6.i686 - 32 Bit


Anyone else seeing this?
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Later:

Did a restore from my backup prior to upgrading Asterisk Logfiles 2.11.0.7 Schmooze Com. Inc. Online upgrade available (2.11.0.8) and FreePBX Framework 2.11.0.23 FreePBX Online upgrade available (2.11.0.24) ; this rectified the issue with logging.

I'm interested in anyone else is seeing this after upgrading. For the moment, I'll leave the older versions in place until this can be resolved.

Backups are a wonderful thing... :)
 

voipRookie

Member
Joined
Oct 17, 2010
Messages
91
Reaction score
9
I'm seeing the same behavior as you with Asterisk Logfiles 2.11.0.8

AsteriskLogFileVersion.JPG

Code:
[1]-> ls -l /var/log/asterisk/full*
-rw-rw-r-- 1 asterisk asterisk    0 Mar  2 03:07 /var/log/asterisk/full
-rw-rw-r-- 1 asterisk asterisk  457 Aug 30  2013 /var/log/asterisk/full.0
-rw-rw-r-- 1 asterisk asterisk 24012 Feb 26 04:40 /var/log/asterisk/full-20140226
-rw-rw-r-- 1 asterisk asterisk 30936 Feb 27 03:20 /var/log/asterisk/full-20140227
-rw-rw-r-- 1 asterisk asterisk  4670 Feb 27 08:14 /var/log/asterisk/full-20140228
-rw-rw-r-- 1 asterisk asterisk    0 Feb 28 04:46 /var/log/asterisk/full-20140301
-rw-rw-r-- 1 asterisk asterisk    0 Mar  1 03:49 /var/log/asterisk/full-20140302
 

voipRookie

Member
Joined
Oct 17, 2010
Messages
91
Reaction score
9
It looks like the contents of logger_general_additional.conf and logger_logfiles_additional.conf were truncated.

Before Asterisk Logfiles 2.11.0.8 here's the contents of these files:

Code:
[22]-> cat logger_general_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make    ;
; custom modifications, details at: http://freepbx.org/configuration_files      ;
;--------------------------------------------------------------------------------;
;
 
dateformat=%F %T
appendhostname=no
queue_log=yes
rotatestrategy=rotate
[23]->
[23]->
[23]-> cat logger_logfiles_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make    ;
; custom modifications, details at: http://freepbx.org/configuration_files      ;
;--------------------------------------------------------------------------------;
;
 
full => debug,error,notice,verbose,warning
console => debug,error,notice,verbose,warning
[24]->

After installing Asterisk Logfiles 2.11.0.8 here's the contents of these files:

Code:
[24]-> cd /etc/asterisk/
[25]-> cat logger_general_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make    ;
; custom modifications, details at: http://freepbx.org/configuration_files      ;
;--------------------------------------------------------------------------------;
;
 
[26]->
[26]->
[26]-> cat logger_logfiles_additional.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make    ;
; custom modifications, details at: http://freepbx.org/configuration_files      ;
;--------------------------------------------------------------------------------;
;
 
[27]->

I agree with Trimline2 backups are indeed wonderful thing...:)
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Thanks for verifying the log files. We'll just have to wait until a resolve is made on the open ticket.
 

voipRookie

Member
Joined
Oct 17, 2010
Messages
91
Reaction score
9
I can confirm after updating to Asterisk Logfiles 2.11.0.9 my log file is no longer empty.
 

Members online

Forum statistics

Threads
25,825
Messages
167,849
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top