Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Oracle WebCache Access Log rotation

Posted on 2011-09-20
3
Medium Priority
?
1,388 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
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 copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

636 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