mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-05 23:22:47 +00:00
Refactors logging service package
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with l2jserver2. If not, see <http://www.gnu.org/licenses/>.
|
* along with l2jserver2. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.l2jserver.service.core;
|
package com.l2jserver.service.core.logging;
|
||||||
|
|
||||||
import org.apache.log4j.BasicConfigurator;
|
import org.apache.log4j.BasicConfigurator;
|
||||||
import org.apache.log4j.ConsoleAppender;
|
import org.apache.log4j.ConsoleAppender;
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with l2jserver2. If not, see <http://www.gnu.org/licenses/>.
|
* along with l2jserver2. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.l2jserver.service.core;
|
package com.l2jserver.service.core.logging;
|
||||||
|
|
||||||
import com.l2jserver.service.Service;
|
import com.l2jserver.service.Service;
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with l2jserver2. If not, see <http://www.gnu.org/licenses/>.
|
* along with l2jserver2. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.l2jserver.service.core;
|
package com.l2jserver.service.core.logging;
|
||||||
|
|
||||||
import org.w3c.dom.Node;
|
import org.w3c.dom.Node;
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
|
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.l2jserver.service.core.log4j;
|
package com.l2jserver.service.core.logging;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
@@ -37,8 +37,8 @@
|
|||||||
implementation="com.l2jserver.service.configuration.XMLConfigurationService" />
|
implementation="com.l2jserver.service.configuration.XMLConfigurationService" />
|
||||||
<service interface="com.l2jserver.service.cache.CacheService"
|
<service interface="com.l2jserver.service.cache.CacheService"
|
||||||
implementation="com.l2jserver.service.cache.SoftCacheService" />
|
implementation="com.l2jserver.service.cache.SoftCacheService" />
|
||||||
<service interface="com.l2jserver.service.core.LoggingService"
|
<service interface="com.l2jserver.service.core.logging.LoggingService"
|
||||||
implementation="com.l2jserver.service.core.Log4JLoggingService">
|
implementation="com.l2jserver.service.core.logging.Log4JLoggingService">
|
||||||
<logger name="" level="ERROR" />
|
<logger name="" level="ERROR" />
|
||||||
<logger name="com.l2jserver" level="INFO" />
|
<logger name="com.l2jserver" level="INFO" />
|
||||||
</service>
|
</service>
|
||||||
|
|||||||
@@ -48,8 +48,8 @@
|
|||||||
implementation="com.l2jserver.service.configuration.XMLConfigurationService" />
|
implementation="com.l2jserver.service.configuration.XMLConfigurationService" />
|
||||||
<service interface="com.l2jserver.service.cache.CacheService"
|
<service interface="com.l2jserver.service.cache.CacheService"
|
||||||
implementation="com.l2jserver.service.cache.SoftCacheService" />
|
implementation="com.l2jserver.service.cache.SoftCacheService" />
|
||||||
<service interface="com.l2jserver.service.core.LoggingService"
|
<service interface="com.l2jserver.service.core.logging.LoggingService"
|
||||||
implementation="com.l2jserver.service.core.Log4JLoggingService">
|
implementation="com.l2jserver.service.core.logging.Log4JLoggingService">
|
||||||
<logger name="" level="ERROR" />
|
<logger name="" level="ERROR" />
|
||||||
<logger name="com.l2jserver" level="INFO" />
|
<logger name="com.l2jserver" level="INFO" />
|
||||||
<logger name="com.l2jserver.service.game.template.XMLTemplateService"
|
<logger name="com.l2jserver.service.game.template.XMLTemplateService"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import com.l2jserver.model.world.character.CharacterInventory.ItemLocation;
|
|||||||
import com.l2jserver.service.AbstractService.Depends;
|
import com.l2jserver.service.AbstractService.Depends;
|
||||||
import com.l2jserver.service.cache.CacheService;
|
import com.l2jserver.service.cache.CacheService;
|
||||||
import com.l2jserver.service.configuration.ConfigurationService;
|
import com.l2jserver.service.configuration.ConfigurationService;
|
||||||
import com.l2jserver.service.core.LoggingService;
|
import com.l2jserver.service.core.logging.LoggingService;
|
||||||
import com.l2jserver.service.core.threading.ThreadService;
|
import com.l2jserver.service.core.threading.ThreadService;
|
||||||
import com.l2jserver.service.core.vfs.VFSService;
|
import com.l2jserver.service.core.vfs.VFSService;
|
||||||
import com.l2jserver.service.database.model.QActorSkill;
|
import com.l2jserver.service.database.model.QActorSkill;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import com.google.inject.Inject;
|
|||||||
import com.l2jserver.service.AbstractService.Depends;
|
import com.l2jserver.service.AbstractService.Depends;
|
||||||
import com.l2jserver.service.cache.CacheService;
|
import com.l2jserver.service.cache.CacheService;
|
||||||
import com.l2jserver.service.configuration.ConfigurationService;
|
import com.l2jserver.service.configuration.ConfigurationService;
|
||||||
import com.l2jserver.service.core.LoggingService;
|
import com.l2jserver.service.core.logging.LoggingService;
|
||||||
import com.l2jserver.service.core.threading.ThreadService;
|
import com.l2jserver.service.core.threading.ThreadService;
|
||||||
import com.l2jserver.service.core.vfs.VFSService;
|
import com.l2jserver.service.core.vfs.VFSService;
|
||||||
import com.l2jserver.service.database.model.QActorSkill;
|
import com.l2jserver.service.database.model.QActorSkill;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ import com.l2jserver.service.AbstractService;
|
|||||||
import com.l2jserver.service.AbstractService.Depends;
|
import com.l2jserver.service.AbstractService.Depends;
|
||||||
import com.l2jserver.service.ServiceStartException;
|
import com.l2jserver.service.ServiceStartException;
|
||||||
import com.l2jserver.service.ServiceStopException;
|
import com.l2jserver.service.ServiceStopException;
|
||||||
import com.l2jserver.service.core.LoggingService;
|
import com.l2jserver.service.core.logging.LoggingService;
|
||||||
import com.l2jserver.service.game.scripting.impl.ScriptContextImpl;
|
import com.l2jserver.service.game.scripting.impl.ScriptContextImpl;
|
||||||
import com.l2jserver.service.game.scripting.scriptmanager.ScriptInfo;
|
import com.l2jserver.service.game.scripting.scriptmanager.ScriptInfo;
|
||||||
import com.l2jserver.service.game.scripting.scriptmanager.ScriptList;
|
import com.l2jserver.service.game.scripting.scriptmanager.ScriptList;
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ import com.l2jserver.service.ServiceStopException;
|
|||||||
import com.l2jserver.service.cache.Cache;
|
import com.l2jserver.service.cache.Cache;
|
||||||
import com.l2jserver.service.cache.CacheService;
|
import com.l2jserver.service.cache.CacheService;
|
||||||
import com.l2jserver.service.configuration.ConfigurationService;
|
import com.l2jserver.service.configuration.ConfigurationService;
|
||||||
import com.l2jserver.service.core.LoggingService;
|
import com.l2jserver.service.core.logging.LoggingService;
|
||||||
import com.l2jserver.service.core.vfs.VFSService;
|
import com.l2jserver.service.core.vfs.VFSService;
|
||||||
import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter;
|
import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter;
|
||||||
import com.l2jserver.util.jaxb.EffectTemplateIDAdapter;
|
import com.l2jserver.util.jaxb.EffectTemplateIDAdapter;
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import com.l2jserver.service.AbstractService;
|
|||||||
import com.l2jserver.service.AbstractService.Depends;
|
import com.l2jserver.service.AbstractService.Depends;
|
||||||
import com.l2jserver.service.ServiceStartException;
|
import com.l2jserver.service.ServiceStartException;
|
||||||
import com.l2jserver.service.ServiceStopException;
|
import com.l2jserver.service.ServiceStopException;
|
||||||
import com.l2jserver.service.core.LoggingService;
|
import com.l2jserver.service.core.logging.LoggingService;
|
||||||
import com.l2jserver.service.database.DatabaseService;
|
import com.l2jserver.service.database.DatabaseService;
|
||||||
import com.l2jserver.service.game.scripting.ScriptingService;
|
import com.l2jserver.service.game.scripting.ScriptingService;
|
||||||
import com.l2jserver.service.game.template.TemplateService;
|
import com.l2jserver.service.game.template.TemplateService;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ import com.l2jserver.game.net.packet.ServerPacket;
|
|||||||
import com.l2jserver.model.id.object.CharacterID;
|
import com.l2jserver.model.id.object.CharacterID;
|
||||||
import com.l2jserver.service.AbstractConfigurableService;
|
import com.l2jserver.service.AbstractConfigurableService;
|
||||||
import com.l2jserver.service.AbstractService.Depends;
|
import com.l2jserver.service.AbstractService.Depends;
|
||||||
import com.l2jserver.service.core.LoggingService;
|
import com.l2jserver.service.core.logging.LoggingService;
|
||||||
import com.l2jserver.service.core.threading.ThreadPool;
|
import com.l2jserver.service.core.threading.ThreadPool;
|
||||||
import com.l2jserver.service.core.threading.ThreadPoolPriority;
|
import com.l2jserver.service.core.threading.ThreadPoolPriority;
|
||||||
import com.l2jserver.service.core.threading.ThreadService;
|
import com.l2jserver.service.core.threading.ThreadService;
|
||||||
|
|||||||
Reference in New Issue
Block a user