Solved

Oracle WebCache Access Log rotation

Posted on 2011-09-20
3
1,349 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 500 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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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.

739 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