Skip to content

Commit

Permalink
Merge pull request #107 from jamezp/LOGMGR-149
Browse files Browse the repository at this point in the history
[LOGMGR-149] Skip the permissions check on the syslog handler when th…
  • Loading branch information
jamezp committed Apr 20, 2017
2 parents ca62224 + 28ea8ab commit d0ef9b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,7 @@ public void setProtocol(final Protocol type) {
* @param out the output stream to write to
*/
public void setOutputStream(final OutputStream out) {
checkAccess(this);
setOutputStream(out, true);
}

Expand Down Expand Up @@ -1037,7 +1038,6 @@ public void setTruncate(final boolean truncate) {
}

private void setOutputStream(final OutputStream out, final boolean outputStreamSet) {
checkAccess(this);
OutputStream oldOut = null;
boolean ok = false;
try {
Expand Down

0 comments on commit d0ef9b1

Please sign in to comment.