mirror of
https://github.com/Akomry/sae302_applicom.git
synced 2025-12-06 08:43:54 +00:00
feat(host): gestion de l'ajout de nouveaux hôtes/adresses serveur, fix du logger
This commit is contained in:
parent
8cea05bb7b
commit
ab0e49f2f0
6 changed files with 165 additions and 11 deletions
|
|
@ -2,6 +2,7 @@ package rtgre.server;
|
|||
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import rtgre.chat.ChatController;
|
||||
import rtgre.chat.net.ChatClient;
|
||||
import rtgre.modeles.*;
|
||||
|
||||
|
|
@ -28,7 +29,7 @@ public class ChatServer {
|
|||
|
||||
static {
|
||||
try {
|
||||
InputStream is = ChatServer.class.getClassLoader()
|
||||
InputStream is = ChatController.class
|
||||
.getResource("logging.properties").openStream();
|
||||
LogManager.getLogManager().readConfiguration(is);
|
||||
} catch (Exception e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue