Item logger improvements.
This commit is contained in:
@@ -1050,7 +1050,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||
}
|
||||
|
||||
// Notify to scripts.
|
||||
@@ -1097,7 +1097,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1109,7 +1109,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1125,7 +1125,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1137,7 +1137,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1150,7 +1150,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||
}
|
||||
|
||||
if (_elementals == null)
|
||||
@@ -1171,7 +1171,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1302,7 +1302,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1326,7 +1326,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1633,7 +1633,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1678,7 +1678,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1720,7 +1720,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
||||
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -2136,7 +2136,7 @@ public class Item extends WorldObject
|
||||
}
|
||||
else if (id != 0)
|
||||
{
|
||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
||||
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user