01-19-2004 02:00 AM
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
01-19-2004 03:13 AM
use the command
'transaction-logs export compress'
Gilles.
01-19-2004 04:50 AM
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
01-19-2004 05:13 AM
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.
01-19-2004 05:44 AM
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?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide