?
Solved

Oracle WebCache Access Log rotation

Posted on 2011-09-20
3
Medium Priority
?
1,371 Views
Last Modified: 2013-12-19
Dear experts -

                  I have been trying to configure oracle webache logs. What I would like to do is rotate the access logs every day.  What I did was ,

1. Under the Logging and Diagnostics , clicked on Access Logs
2. I gave the file name as access_log_file.yyyymmdd_hhmm  
3. selected roller over policy as daily

applied the changes and restarted the webcache

when I tried to access an application. I see the logfile name as access_log_file.yyyymmdd_hhmm  instead of access_log_file.20090920.1555.

what I mean to say it is not capturing the date format I provided

Thanks for the help

Regards
0
Comment
Question by:akp007
[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
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
Jacobfw earned 2000 total points
ID: 36573008
My understanding is that you would just leave the file name as the default "access_log" and the application would append the appropriate suffix:
    For Daily it would be in the format "-jjjj-MM-tt"

So your file names would look like access_log_file-2011-SEP-20


0
 
LVL 7

Assisted Solution

by:Jacobfw
Jacobfw earned 2000 total points
ID: 36573030
I am sure you have read this already, but I will include it anyway.

http://download.oracle.com/docs/cd/E17904_01/web.1111/e10143/log.htm#CEGEJFIE

0
 

Author Closing Comment

by:akp007
ID: 36573751
thanks. that worked
0

Featured Post

Technology Partners: 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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

764 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