Hi!

I was configuring some routers to log onto my LM box. That was ok, thanks to
Pierre Fortin.

Then I realized that my logs weren´t being rotated... so was being overwhelmed
by the file sizes... I read how to configure logrotate to do this and now it
works too... but the rotated files aren't being compressed...

in the last lines of /etc/logrotate.conf I did:

...

# system-specific logs may be configured here
# rotacao dos logs do C7513FSPO01
errors root
compress

/var/log/cisco/7513-1 {
    weekly
    create 0644 root root
    rotate 24
}

and I tried also:

# system-specific logs may be configured here
# rotacao dos logs do C7513FSPO01
errors root

/var/log/cisco/7513-1 {
    weekly
    compress
    create 0644 root root
    rotate 24
}

and tried:

# system-specific logs may be configured here
# rotacao dos logs do C7513FSPO01
errors root

/var/log/cisco/7513-1 {
    weekly
    create 0644 root root
    compress
    rotate 24
}

so... what is going on??? I know that is the correct file since any router that
I include is logged and rotated... but I don't understand why the rotated files
aren't compressed... no error message is displayed or logged... any ideas???

TIA

orlando


-- 

        ,~~v~~,            ,~~v~~, 
       ,'.   .',          ,'.   .', 
      ===  +  ===        ===  +  === 
       /   ~   \          /   ~   \    
      /\_m   m_/\        /\_m   m_/\
     .\  +----------------------+  /. 
     /   ! [EMAIL PROTECTED]  !   \  
      /  +----------------------+  \  
       `\m/ \m/'           `\m/ \m/'

Reply via email to