Ticket #2851 (closed defect: invalid)

Opened 3 months ago

Last modified 2 weeks ago

Logger error

Reported by: Kratos Assigned to:
Priority: trivial Milestone:
Keywords: Cc:
DP Revision: 0 L2J Revision: 2291
Geodata: Disabled

Description

Index: java/net/sf/l2j/gameserver/model/actor/instance/L2SummonInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2SummonInstance.java	(revision 2291)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2SummonInstance.java	(working copy)
@@ -28,7 +28,7 @@
 
 public class L2SummonInstance extends L2Summon
 {
-    protected static final Logger log = Logger.getLogger(L2SummonInstance.class.getName());
+    protected static final Logger _log = Logger.getLogger(L2SummonInstance.class.getName());
 
     private float _expPenalty = 0; // exp decrease multiplier (i.e. 0.3 (= 30%) for shadow)
     private int _itemConsumeId;
@@ -205,7 +205,7 @@
 		public void run()
 		{
             if (Config.DEBUG)
-                log.warning("L2SummonInstance: " + _summon.getTemplate().name + " ("
+                _log.warning("L2SummonInstance: " + _summon.getTemplate().name + " ("
                     + _activeChar.getName() + ") run task.");
 
 			try
@@ -255,7 +255,7 @@
             catch (Throwable e)
             {
             	if (Config.DEBUG)
-            		log.warning("Summon of player [#"+_activeChar.getName()+"] has encountered item consumption errors: "+e);
+            		_log.warning("Summon of player [#"+_activeChar.getName()+"] has encountered item consumption errors: "+e);
             }
         }
     }

Attachments

Change History

09/22/08 13:56:22 changed by Sami

  • status changed from new to closed.
  • resolution set to invalid.

Add/Change #2851 (Logger error)




Change Properties
Action