private void doNext(HttpResponder responder, LoggingContext loggingContext, int maxEvents,
String fromOffsetStr, boolean escape, String filterStr) {
try {
Filter filter = FilterParser.parse(filterStr);
LogReaderCallback logCallback = new LogReaderCallback(responder, logPattern, escape);
<BUG>logReader.getLogNext(loggingContext, FormattedLogEvent.parseLogOffset(fromOffsetStr),
maxEvents, filter, logCallback);
} catch (SecurityException e) {</BUG>
responder.sendStatus(HttpResponseStatus.UNAUTHORIZED);
} catch (IllegalArgumentException e) {

private void doNext(HttpResponder responder, LoggingContext loggingContext, int maxEvents,
String fromOffsetStr, boolean escape, String filterStr) {
try {
Filter filter = FilterParser.parse(filterStr);
LogReaderCallback logCallback = new LogReaderCallback(responder, logPattern, escape);
LogOffset logOffset = FormattedLogEvent.parseLogOffset(fromOffsetStr);
ReadRange readRange = ReadRange.createFromRange(logOffset);
logReader.getLogNext(loggingContext, readRange, maxEvents, filter, logCallback);
} catch (SecurityException e) {
responder.sendStatus(HttpResponseStatus.UNAUTHORIZED);
} catch (IllegalArgumentException e) {
