Interesting... I can control the default-event.log file name and stuff
through the jrun.xml file, but the -err and -out files don't seem to be
in here explicitly.  Is yours any different? The
<ThreadedLogEventHandler> section looks like this now:

<service class="jrunx.logger.ThreadedLogEventHandler"
name="ThreadedLogEventHandler">

  <service class="jrunx.logger.ConsoleLogEventHandler"
name=":service=ConsoleLogEventHandler" />

  <service class="jrunx.logger.FileLogEventHandler"
name="FileLogEventHandler">

                <!-- I added ".{year}{month}{day}" to the filename; it
works -->

    <attribute
name="filename">{jrun.rootdir}/logs/{jrun.server.name}-event.{year}{mont
h}{day}.log</attribute>
    <attribute name="rotationSize">200k</attribute>
    <attribute name="rotationFiles">3</attribute>
    <!-- Use heading to specify an alternate log heading for system
event log. -->
    <!-- EXAMPLE: <attribute name="heading"># Created by JRun on {date
MM/dd HH:mm:ss}</attribute> -->
    <attribute name="closeDelay">5000</attribute>
    <attribute name="deleteOnExit">false</attribute>
  </service>

</service>

Ah, I just found them in the registry, in the
LocalMachine\Services\CurrentControlSet\ColdFusion MX App Server
section, as SystemOut and SystemErr.  Unfortunately, the
{year}{month}{day} symbols are not being replaced with values... they
end up empty. Bummer.  (I got those symbols from some jrun 3
documentation, and it does work for the event file in the jrun.xml)

Anybody know more about this stuff?

Thanks
        Mark





-----Original Message-----
From: Jon Gunnip [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 07, 2005 1:06 PM
To: CF-Talk
Subject: Re: Any way to remove/rename "\cfusionmx\runtime\logs\*.log"
files?

To control the runtime logs, update the attributes filename,
rotationSize and rotationFiles in
cfusion/runtime/servers/coldfusion/SERVER-INF/jrun.xml and restart the
CF server.

HTH,
Jon

On 7/7/05, Gaulin, Mark <[EMAIL PROTECTED]> wrote:
> Hi
> Is there any way to remove or rename "\cfusionmx\runtime\logs\*.log"
> files, short of stopping the cfmx service, moving the files, and 
> starting it again?  Can the files be created with dated file name, or 
> be configured to rotate somehow?
> 
> I've got some pretty big files and it stinks now being able to 
> manipulate them when the site is up.
> 
> Thanks
>         Mark
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211350
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to