cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
495
Views
0
Helpful
4
Replies

Why do I get different file formats on my Transaction logs ??

l.johnsen
Level 1
Level 1

I have several 507s running ACNS 4.2.1 and 5.0.

And in the LOG .directory the files shows up both as .TXT and .GZ(ZIP) files. At first I thought it was decided by a size threshold, but after checking this is not the case. How can I get all the files to end up as .GZ(ZIP) format ??

---

CCE001#show transaction-logging

Transaction log configuration:

--

HTTP Caching Proxy Transaction Log File Info

Working Log file - size : 7375928

age: 2608

Archive Log file - celog_10.0.0.10_20031124_100000.txt size: 9345293

Archive Log file - celog_10.0.0.10_20031124_090000.txt.gz size: 1056234

Archive Log file - celog_10.0.0.10_20031124_110000.txt size: 12922927

4 Replies 4

Gilles Dufour
Cisco Employee
Cisco Employee

use the command

'transaction-logs export compress'

Gilles.

Thanks, but the command is there already...

And still it gives me various output format

--

Archive Log file - celog_10.0.0.10_20031124_100000.txt size: 9345293

Archive Log file - celog_10.0.0.10_20031124_090000.txt.gz size: 1056234

Archive Log file - celog_10.0.0.10_20031124_110000.txt size: 12922927

the format is text anyway.

But when you export it, you can create a gz file.

So you will see both the text and gzip file.

There is no way to suppress the text file automatically once the gzip has been created.

What you have to do is a script to clean the text file once a day or so.

Gilles.

This is config lines:

transaction-logs enable

transaction-logs archive interval every-hour at 0

transaction-logs export enable

transaction-logs export compress

transaction-logs export interval every-hour at 10

The strange thing is that sometimes I get a .txt file while I sometimes get a .gz file. I do not have both a txt and a gz file at the same hour...

My question is: How do I get the CCE only to present .GZ files ?

Do you know what I must do to access the box so I can run a script?

Review Cisco Networking for a $25 gift card