DISQUS

DanNorris.com: Oracle HTTP Server (Apache) rotatelogs configuration

  • Dave · 2 years ago
    I agree with our comment about the poor defaults and I like your prefered settings but you've attributed the defaults to the wrong source. I have a non-Oracle Apache installation and it has the same settings. My guess would be those are the Apache installation defaults and Oracle just never changed them.
  • Dan Norris · 2 years ago
    I haven't done a vanilla Apache install for quite a long time--the last time I did an Apache installation, rotatelogs wasn't used in the default configuration. Probably showing my age now :)

    Thanks for stopping by!

    Dan
  • Joel · 1 year ago
    great, thanks for posting this idea.
  • Dan Norris · 1 year ago
    Glad you found it helpful. Thanks for stopping by!
  • Arunabh · 1 year ago
    Hi, Can i rotate server.log file. If its possible can you please let me know how to implement that.
  • Dan Norris · 1 year ago
    For the server.log file from the OC4J, you would have to use ODL to do that. You'll find several notes on Metalink describing how to set up log rotation for OC4J and a few specially on using ODL (Oracle Diagnostic Logging) with OC4J as well. If you're thinking of a different server.log, then you'll have to clarify.
  • jaycruda · 2 months ago
    I find this very helpful. Thanks for posting this.