Kleine Dinge am Logging geändert.
This commit is contained in:
parent
e81e1fa165
commit
8c44d023d3
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class ClientReciveMessageThread extends Thread {
|
||||||
try {
|
try {
|
||||||
Message empfangen = null;
|
Message empfangen = null;
|
||||||
while ((empfangen = (Message) this.in.readObject()) != null) {
|
while ((empfangen = (Message) this.in.readObject()) != null) {
|
||||||
Logger.getLogger(ClientReciveMessageThread.class.getName()).log(Level.INFO, String.format("Reciveing Thread %d: Time: %s Client: %s Message: %s", this.getId(), empfangen.getTime(), empfangen.getUsername(), empfangen.getUsername()));
|
Logger.getLogger(ClientReciveMessageThread.class.getName()).log(Level.INFO, String.format("Reciveing Thread %d: Time: %s Client: %s Message: %s", this.getId(), empfangen.getTime(), empfangen.getUsername(), empfangen.getMessage()));
|
||||||
for (ObjectOutputStream stream : clientStore.getAllOutputStreams()) {
|
for (ObjectOutputStream stream : clientStore.getAllOutputStreams()) {
|
||||||
stream.writeObject(empfangen);
|
stream.writeObject(empfangen);
|
||||||
stream.flush();
|
stream.flush();
|
||||||
|
|
Loading…
Reference in a new issue