mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
Reverting e47dc1d555.
The result of a misunderstanding. BYPASS_LOG can be deleted by the time we release, and for its temporary purpose, runtime modification is not necessary.
This commit is contained in:
1 parent
1e40aa5805
commit
c5bda70bee
2 files changed
+3
-2
No files matched your search
@@ -50,8 +50,9 @@ public class CallableDirectionChecker extends RoleChecker {
|
||||
|
||||
/**
|
||||
* Test feature that is meant to replace all logging, and log what would have been violations.
|
||||
* TODO delete before release
|
||||
*/
|
||||
public static PrintWriter BYPASS_LOG;
|
||||
private static final PrintWriter BYPASS_LOG;
|
||||
|
||||
static {
|
||||
String log = System.getProperty(CallableDirectionChecker.class.getName()+".log");
|
||||
|
||||
@@ -52,7 +52,7 @@ import org.kohsuke.accmod.restrictions.DoNotUse;
|
||||
* Escape hatch to disable this check completely.
|
||||
*/
|
||||
public static boolean BYPASS = Boolean.getBoolean(DefaultFilePathFilter.class.getName()+".allow");
|
||||
private static final PrintWriter BYPASS_LOG;
|
||||
private static final PrintWriter BYPASS_LOG; // TODO delete before release
|
||||
static {
|
||||
String log = System.getProperty("jenkins.security.DefaultFilePathFilter.log");
|
||||
if (log == null) {
|
||||
|
||||
Reference in new issue
Block a user