Skip to content

Commit

Permalink
- ignore intermediate syslog I/O errors
Browse files Browse the repository at this point in the history
  • Loading branch information
owagner committed Jul 18, 2015
1 parent 9a66d11 commit 435d0fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,11 @@ See also

Changelog
---------
* 0.11 - 2015/07/17 - owagner
* 0.11 - 2015/07/18 - owagner
- fixed float conversion to number. Previously, float values were added
as strings to the JSON-encded object, possibly causing issues in logic engines
- updated minimal-json to 0.9.2, calimero to 2.2.1 (final) and eclipse-paho to 1.0.2
- ignore intermediate syslog I/O errors

* 0.10 - 2015/04/11 - owagner
- added caching of parsed project files to speed up startup esspecially on low-end CPUs
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/com/tellerulam/knx2mqtt/SyslogHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static void readConfig() throws SecurityException, IOException
}
}

private DatagramSocket ds;
private final DatagramSocket ds;
private String hostname;
private String pidSuffix;

Expand Down Expand Up @@ -88,8 +88,7 @@ private void sendSyslogMessage(StringBuilder msg)
}
catch(IOException e)
{
ds.close();
ds=null;
/* Ignore */
}
}

Expand Down

0 comments on commit 435d0fc

Please sign in to comment.