cancel
Showing results for 
Search instead for 
Did you mean: 

ERS 8800 - log rotate pcmcia

ERS 8800 - log rotate pcmcia

EF
Contributor II
Hi,

I´m configuring logging to PCMCIA in ERS8800 release 7.X following these steps:

1.- enable logging to pcmia

config bootconfig flags logging true

2.- configure parameters

config bootconfig logfile 500 16000 90

But I can´t find how to make the log files rotate, Is this possible? How to?

Regards,

EF

7 REPLIES 7

EF
Contributor II

Ok, I understand that my idea of rotate logs in the PCMCIA itself is not possible.

Thanks all.

EF

EF
Contributor II

This is my problem, there isn´t possibility to transfer file to remote host, so I would like that the logs were rotate itself in the PCMCIA itself, is this possible or when it reach the pecentage of ocupaccy defined (for example 90%) chassis stops to log ?

Regards,

EF

Martin_Sebek
New Contributor III
SMP rotates logs written to DRAM. When you reach a defined treshold for PCMCIA and the log file cannot be transfered to a remote host the switch generates a trap stops logging to PCMCIA and continues logging to DRAM.

Martin_Sebek
New Contributor III
As you already stated. You can specify minimum free space available on PCMCIA, maximum file size and percentage amount of memory for logs on PCMCIA. These criteria trigger file transfer to the remote server. After the log file is succesfully transfered to a remote host the switch deletes the log on PCMCIA and starts logging to a new file which file name is incremented by 1.

You can setup up to 10 remote servers.
logging transferFile <1-10> address
GTM-P2G8KFN