Solved

Apache - cronolog

Posted on 2011-03-22
5
1,390 Views
Last Modified: 2012-06-27
I have made my Apache(2.2.17) to use cronolog(1.7.0). It is giving error:

piped log program '/opt/httpd/etc/scripts/cronolog --symlink=/httpd/logs/web-qa/ssl_request_log --period "1 hours" --time-zone=CST /htt
pd/logs/web-qa/OLD/ssl_request_log.%Y%m%d-%H%M%S' failed unexpectedly
/opt/httpd/etc/scripts/cronolog: invalid explicit period specification ((null))

The same cronolog is working fine for Apache 2.2.11
Do I need to use the --period parameter in someother way for Apache2.2.17 ?
0
Comment
Question by:Raz
  • 4
5 Comments
 

Author Comment

by:Raz
ID: 35188162
I have configured cronolog in httpd.conf as below.

  ErrorLog '|/opt/httpd/etc/scripts/cronolog --period="1 hour" --time-zone=CST --symlink=/httpd/logs/web-qa/error_log /httpd/logs/we
b-qa/OLD/error_log.%Y%m%d-%H%M%S'
0
 
LVL 61

Expert Comment

by:gheist
ID: 35194402
cronolog is redundant since long ago.... http://httpd.apache.org/docs/1.3/logs.html#piped
0
 

Author Comment

by:Raz
ID: 35195960
In the link you have given, it has been given that cronolog is much more flexible. So please tell me how to use cronolog without the above error i have given.
0
 

Accepted Solution

by:
Raz earned 0 total points
ID: 35689653
"1 hours" replaced with "1 hour" works
0
 

Author Closing Comment

by:Raz
ID: 35718366
The user comment is not useful. I have found my solution
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DNS Question 7 61
Service "nameserver" appears to be down 4 528
IPv6 Networking 6 95
NGINX/Plesk  subdomain allow only 5 select ip addresses, deny everyone else 2 58
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now