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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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

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
Cisco Employee

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

use the command

'transaction-logs export compress'

Gilles.

New Member

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

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

Cisco Employee

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

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.

New Member

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

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?

104
Views
0
Helpful
4
Replies