1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-05 23:22:47 +00:00

Implements logging service configuration

This commit is contained in:
2011-12-29 00:14:04 -02:00
parent 1f100326ba
commit 7740e37cf8
7 changed files with 125 additions and 41 deletions

View File

@@ -21,6 +21,7 @@ import java.nio.file.Paths;
import javax.xml.parsers.ParserConfigurationException;
import org.apache.log4j.BasicConfigurator;
import org.w3c.dom.DOMException;
import org.xml.sax.SAXException;
@@ -77,6 +78,8 @@ public class L2JGameServerMain {
*/
@SuppressWarnings("unchecked")
public static void main(String[] args) {
BasicConfigurator.configure();
final ServiceManager serviceManager = new ServiceManager();
try {
serviceManager.load(Paths.get("services.xml"));