[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1399
  • Last Modified:

Oracle WebCache Access Log rotation

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
akp007
Asked:
akp007
  • 2
2 Solutions
 
JacobfwCommented:
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
 
JacobfwCommented:
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
 
akp007Author Commented:
thanks. that worked
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now