[Building Sakai] about storing tomcat verbos log

Earle Nietzel earle.nietzel at gmail.com
Mon Oct 31 14:03:45 PDT 2011


Hi Khan,

Good question, most nix platforms have some type of logrotate so its really
a given there but on Windows?

You could try something like:

copy $TOMCAT_HOME\logs\catalina.out c:\mybackuplogs\catalina.out
echo . > $TOMCAT_HOME\logs\catalina.out

You could probably come up with something better by putting the date on the
end of the copied log and then use at to schedule it.

Anyways I am sure you can google for something.

Earle

On Wed, Oct 26, 2011 at 6:58 AM, Khan <vupk at yahoo.com> wrote:

> Dear All
>
> Our sakai installation is
>
> OS=Windows 2003 Server
> Sakai = 2.7.1
> Database = Oracle 10g
>
> I am storing tomcat verbose log in a text file using command "catalina
> run>log.txt"
>
> the problem is file size growing very large, and I dont like to restart
> sakai instance.
>
> Is there any way so that if a file size exeed than a specified size then
> log should be written to another file.
>
> Regards
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111031/801a8aeb/attachment.html 


More information about the sakai-dev mailing list