Irc{Outbound,Inbound}Filter:

- Silence 'no streams' warning when we can't connect to an IRC server. Change to WARN.
This commit is contained in:
dg2-new
2015-06-08 19:35:18 +00:00
parent 97aeecd865
commit ff2ea9ac3e
4 changed files with 7 additions and 5 deletions

View File

@ -47,8 +47,8 @@ public class IrcInboundFilter implements Runnable {
in = new BufferedReader(new InputStreamReader(remote.getInputStream(), "ISO-8859-1"));
output=local.getOutputStream();
} catch (IOException e) {
if (_log.shouldLog(Log.ERROR))
_log.error("IrcInboundFilter: no streams",e);
if (_log.shouldLog(Log.WARN))
_log.warn("IrcInboundFilter: no streams",e);
return;
}
if (_log.shouldLog(Log.DEBUG))

View File

@ -47,8 +47,8 @@ public class IrcOutboundFilter implements Runnable {
in = new BufferedReader(new InputStreamReader(local.getInputStream(), "ISO-8859-1"));
output=remote.getOutputStream();
} catch (IOException e) {
if (_log.shouldLog(Log.ERROR))
_log.error("IrcOutboundFilter: no streams",e);
if (_log.shouldLog(Log.WARN))
_log.warn("IrcOutboundFilter: no streams",e);
return;
}
if (_log.shouldLog(Log.DEBUG))

View File

@ -3,6 +3,8 @@
* Make netDb.storeFloodNew graphable for testing (#1195)
* Directly connect to nearby floodfills to share our RI
to speed up integration of new floodfills (#1195)
* Silence Irc{Inbound,Outbound}Filter warnings about 'no streams'
when we can't connect to an IRC server. Change to WARN.
2015-06-06 str4d
* newsxml: Don't use XXX for parsing dates on Android

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 3;
public final static long BUILD = 4;
/** for example "-test" */
public final static String EXTRA = "";