Solved

Apache - cronolog

Posted on 2011-03-22
5
1,435 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 62

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 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