Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Logging buffer

Hi,

I have a few Cisco 3G routers configured across Europe which VPN back to an ASA and occasionally 3G will drop and sometimes someone will power-cycle the router which loses the log history so I started to use logging persistent url flash: to save the logs to flash, but I don't think it is working properly or the log space is getting used up as it currently only has 2 days worth of syslog info in the flash and I need it much longer so I can see what the 3G router is trying to do when offline.

Anyway here is the loging and flash info, maybe you can see an issue?

sh flas

-#- --length-- -----date/time------ path

1     31291784 Aug 21 2012 09:04:50 +01:00 c800-universalk9-mz.SPA.151-4.M4.bin

2         3214 Aug 21 2012 09:23:12 +01:00 cpconfig-8xx.cfg

3      3000320 Aug 21 2012 09:23:28 +01:00 cpexpress.tar

4         1038 Aug 21 2012 09:23:36 +01:00 home.shtml

5       122880 Aug 21 2012 09:23:44 +01:00 home.tar

6      1697952 Aug 21 2012 09:23:58 +01:00 securedesktop-ios-3.1.1.45-k9.pkg

7       415956 Aug 21 2012 09:24:10 +01:00 sslclient-win-1.1.4.176.pkg

8            0 Aug 29 2013 11:46:48 +01:00 syslogs

9        28938 Jan 23 2014 04:25:56 +00:00 syslogs/log_20140123-024152

10       28938 Jan 23 2014 08:28:44 +00:00 syslogs/log_20140123-064440

11       28938 Jan 23 2014 10:30:08 +00:00 syslogs/log_20140123-084605

12       28938 Jan 23 2014 06:27:20 +00:00 syslogs/log_20140123-044316

13         660 Aug 29 2013 11:47:20 +01:00 vlan.dat

14       12570 Jan 24 2014 01:40:02 +00:00 syslogs/log_20140123-103334

223473664 bytes available (36700160 bytes used)

logging buffered 51200 informational

logging persistent url flash:/syslogs size 131072 filesize 32768

no logging console

logging monitor informational

Maybe my sizing's are all wrong (never been too good at judging them)?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Logging buffer

It looks to me that when I add up the sizes of the syslogs in flash that it comes very close to the 131072.

Another way of looking at it is that if your config specifies 32768 as the size of individual files and 131072 as the total size then it allocates space for 4 files. You actually got 4 full files and a partial in flash.

So if what you are getting is not as much as you think you need then you need to increase the 131072 in your config to some number that is larger.

HTH

Rick

2 REPLIES
Hall of Fame Super Silver

Logging buffer

It looks to me that when I add up the sizes of the syslogs in flash that it comes very close to the 131072.

Another way of looking at it is that if your config specifies 32768 as the size of individual files and 131072 as the total size then it allocates space for 4 files. You actually got 4 full files and a partial in flash.

So if what you are getting is not as much as you think you need then you need to increase the 131072 in your config to some number that is larger.

HTH

Rick

New Member

Logging buffer

I've changed this, what you said makes sense, I will see how it goes over the next few days.

Such a nice feature to still have logs if it loses connection to our syslog server.

Thanks

177
Views
0
Helpful
2
Replies
CreatePlease to create content