cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
351
Views
0
Helpful
2
Replies

Archiving Logging message on Local Storage device not work XR 4.3.2

satitcha
Level 1
Level 1

Hi XR folks,

 

I enabled this feature on XR 4.3.2 as following configuration,

logging archive
 device harddisk
 severity notifications
 file-size 5
 frequency daily
 archive-size 100
 archive-length 4

 

The issue is,

There have no Archiving logging file be generated on each weekly directory as following output command.

 

RP/0/RSP1/CPU0:ASR9010#dir harddisk:/var/log/2015/02 location 0/RSP0/CPU0   

Fri Feb 20 14:08:43.822 BKK

Directory of net/node0_RSP0_CPU0/harddisk:/var/log/2015/02

20562674    drwx  4096        Sun Feb  1 07:00:00 2015  01

20562675    drwx  4096        Sun Feb  8 07:00:00 2015  08

6576652288 bytes total (5195808256 bytes free)

 

RP/0/RSP1/CPU0:ASR9010#dir harddisk:/var/log/2015/02/01 location 0/RSP0/CPU0

Fri Feb 20 14:09:55.756 BKK

Directory of net/node0_RSP0_CPU0/harddisk:/var/log/2015/02/01

 

No files in directory

 

6576652288 bytes total (5195806208 bytes free)

RP/0/RSP1/CPU0:ASR9010#dir harddisk:/var/log/2015/02/08 location 0/RSP0/CPU0

Fri Feb 20 14:10:00.169 BKK

Directory of net/node0_RSP0_CPU0/harddisk:/var/log/2015/02/08

 

No files in directory

 

6576652288 bytes total (5195805696 bytes free)

 

Could anyone can suggest me to troubleshoot for root cause of this issue.

 

Thank you in advance,

 

Satit

2 Replies 2

satitcha
Level 1
Level 1

Hi XR Folks,

 

Anyone used to face this symptom ?

Please share your idea.

 

Thank you in advance.

 

Satit

 

Hi folks,

 

I'm suspecting if any issue on path harddisk and logging severity,

So i changed the path to disk1 , as following configuration.

 

logging archive

device disk1

severity debugging

file-size 5

frequency daily

archive-size 100

archive-length 4

 

I found new symptom,

The log file was created, but Zero bytes of content of file.

 

RP/0/RSP0/CPU0:PN1#dir

Wed Feb 25 13:23:27.697 BKK

 

Directory of disk1:/var/log/2015/02

 

49818       drwx  4096        Wed Feb 25 10:45:51 2015  22

 

12884885504 bytes total (12881689600 bytes free)

RP/0/RSP0/CPU0:PN1#cd 22

RP/0/RSP0/CPU0:PN1#dir

Wed Feb 25 13:23:31.016 BKK

 

Directory of disk1:/var/log/2015/02/22

 

49882       -rw-  0           Tue Feb 24 17:10:22 2015  syslog.24.1

49883       -rw-  0           Wed Feb 25 10:45:51 2015  syslog.25.1

 

RP/0/RSP0/CPU0:PN1#more disk1:/var/log/2015/02/22/syslog.24.1

Wed Feb 25 13:24:05.464 BKK

RP/0/RSP0/CPU0:PN1#more disk1:/var/log/2015/02/22/syslog.24.1

Wed Feb 25 13:24:07.519 BKK

 

Thank you in advance,

 

Satit

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: