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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user