RE: Oracle Application Server Admin
Date: Wed, 23 Jan 2008 15:36:32 -0500
I suspect I wasn't clear in the other thread when I asked what directory convention you used.
I see you used ../log/server which creates a directory etc like all the others, but I was also considering including orion-application.xml's in the consideration. For instance the two original xml files I have presently go to ./ and ../../log as shown below.
Since I haven't changed them yet, I wondered if I would send ODL logging to the same place also, and of course then it creates a directory analogous to all the others...
Anyway, I'm presently on my oc4j directory... and I believe this might be related... Have SR on this, but sometimes they don't go in the direction you envision.
<log> <file path="application.log" /> </log>
<log> <file path="../../log/em-application.log" /> </log>
Goes to: OC4J_EM/log/OC4J_EM_default_island_1/em-application.log
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Pedro Espinoza Sent: Wednesday, January 23, 2008 2:56 PM To: Stephens, Chris
Subject: Re: Oracle Application Server Admin
It is oracle diagnostic logging facility.
Here is my notes:
Use oracle diagnostic logging to administer log sizes, number of log files; the following have been changed.
Edit the following files
$OMS_HOME/j2ee/home/config/server.xml $OMS_HOME/j2ee/OC4J_EM/config/server.xml $OMS_HOME/j2ee/OC4J_EM/config/default-web-access.xml $OMS_HOME/j2ee/OC4J_EMPROV/config/server.xml $OMS_HOME/j2ee/OC4J_EMPROV/config/default-web-access.xml
Replace <file path="../log/server.log" /> with <odl path="../log/server/" max-file-size="5000" max-directory-size="20000" />
Then bounce all instances, using opmnctl stopall; opmnctl startall.
On Jan 23, 2008 2:50 PM, Stephens, Chris <chris_stephens_at_admworld.com>
> What is this ODL you speak of?
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Pedro Espinoza
> Sent: Wednesday, January 23, 2008 1:49 PM
> To: Brandon.Allen_at_oneneck.com
> Cc: Joel.Patterson_at_crowley.com; oracle-l_at_freelists.org
> Subject: Re: Oracle Application Server Admin
> We use piped logs in our lamp stacks. In our grid setup, I have
> changed all logging to make use of ODL, so that we can set the max
> size for that log directory.
> On Jan 23, 2008 2:15 PM, Allen, Brandon <Brandon.Allen_at_oneneck.com>
> > Have you tried using piped logs? I don't have any experience with
> > they mentioned in it at my OAS Admin class and it looks like it
> > helpful:
> > Regards,
> > Brandon
> > ________________________________
> > From: Joel.Patterson_at_crowley.com
> CONFIDENTIALITY NOTICE:
> This message is intended for the use of the individual or
entity to which it is addressed and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. If the
reader of this message is not the intended recipient or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this
> communication in error, please notify us immediately by email reply.