[Opensim-dev] [Opensim-commits] r7561 - trunk/OpenSim/Grid/UserServer
Sean Dague
sdague at gmail.com
Tue Dec 2 13:17:35 UTC 2008
Justin Clark-Casey wrote:
> I seem to vaguely recall that there was some reason for us not reusing log objects in other classes. Is this right or
> am I misremembering?
Yes, this is a singleton. If it is accessed by a child class it will
cause exceptions on close out. Private should be accessable by super
classes.
-Sean
>
> lbsa71 at opensimulator.org wrote:
>> Author: lbsa71
>> Date: 2008-12-01 02:06:10 -0800 (Mon, 01 Dec 2008)
>> New Revision: 7561
>>
>> Modified:
>> trunk/OpenSim/Grid/UserServer/Main.cs
>> Log:
>> * Making log available for subclasses
>>
>> Modified: trunk/OpenSim/Grid/UserServer/Main.cs
>> ===================================================================
>> --- trunk/OpenSim/Grid/UserServer/Main.cs 2008-12-01 07:50:38 UTC (rev 7560)
>> +++ trunk/OpenSim/Grid/UserServer/Main.cs 2008-12-01 10:06:10 UTC (rev 7561)
>> @@ -48,7 +48,7 @@
>> /// </summary>
>> public class OpenUser_Main : BaseOpenSimServer, conscmd_callback
>> {
>> - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
>> + protected static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
>>
>> protected UserConfig Cfg;
>>
>>
>> _______________________________________________
>> Opensim-commits mailing list
>> Opensim-commits at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-commits
>>
>
>
--
Sean Dague / Neas Bade
sdague at gmail.com
http://dague.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20081202/7de3b864/attachment-0001.pgp>
More information about the Opensim-dev
mailing list