[Opensim-dev] About log files ...
Dr Scofield
DrScofield at xyzzyxyzzy.net
Fri Aug 22 07:28:50 UTC 2008
Ursula MATOVA wrote:
> Hi list,
>
> Well, these past days, I experienced something interresting with
> OpenSim and scripting.
>
> I have a teleporter script that works really fine. But this one is
> really "verbose" ... ( both OpenSim.log & console ) here is an example
> of what I have on the console :
>
>
> 2008-08-20 22:38:58,769 INFO -
> OpenSim.Region.Environment.Scenes.SceneObjectGroup [SCENE]: Storing
> object Primitive, 59398aaf-98b3-46dc-b02f-ded554d4e046 in [KlinT World
> 0]
> 2008-08-20 22:39:16,767 INFO -
> OpenSim.Region.Environment.Scenes.SceneObjectGroup [SCENE]: Storing
> object Primitive, 59398aaf-98b3-46dc-b02f-ded554d4e046 in [KlinT World
> 0]
> 2008-08-20 22:39:34,810 INFO -
> OpenSim.Region.Environment.Scenes.SceneObjectGroup [SCENE]: Storing
> object Primitive, 59398aaf-98b3-46dc-b02f-ded554d4e046 in [KlinT World
> 0]
> 2008-08-20 22:39:52,796 INFO -
> OpenSim.Region.Environment.Scenes.SceneObjectGroup [SCENE]: Storing
> object Primitive, 59398aaf-98b3-46dc-b02f-ded554d4e046 in [KlinT World
> 0]
>
> For now it's ok, I don't use many scripts and often upgrade opensim to
> the latest svn, but this drive me to this idea :
>
> In case of a highly verbose log level, the log(s) file(s) grows fast.
> And when such file grows it could have a negative impact on global
> performances. Of course it's not the case for most of us, because we
> often upgrade our server components with the latest SVN builds, but in
> case of a real production system, this could be a problem.
>
> So, according to me, a feature is missing :
>
> - Embended log rotation,
> - Entry in OpenSim.ini to setup max log size,
> - Extend the console "set log level" command to also reduce the
> verbosity of the log files.
>
> Do you think it's a stupid idea ?
RollingFileAppender is mentioned in the log4net doc...
cheers,
dirk
--
dr dirk husemann ---- virtual worlds research ---- ibm zurich research lab
SL: dr scofield ---- drscofield at xyzzyxyzzy.net ---- http://xyzzyxyzzy.net/
RL: hud at zurich.ibm.com - +41 44 724 8573 - http://www.zurich.ibm.com/~hud/
More information about the Opensim-dev
mailing list