为了便于分析,我们将该$request_body字段保存在访问日志中。但是,帖子正文中有一些敏感信息,例如密码或信用卡号,这些信息会在日志中显示。我们如何掩盖这些信息?
password=1234asdf -> password=****
Run Code Online (Sandbox Code Playgroud)
如果我编写了一个用于屏蔽数据的Nginx模块,我应该编写一个新的日志模块,还是应该在调用原始日志模块之前操纵请求主体?
还是应该使用nginx-lua来实现此目标?
还是还有其他方法?
我正在使用ubuntu 12.04和Eclipse Juno.我安装了ADT 21.0.1和所有SDK包.但每次我启动Eclipse时都会出现以下错误:
eclipse.buildId=M20120914-1800
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
Error
Unable to find Action Set: org.eclipse.mylyn.context.ui.actionSet
Unable to find Action Set: org.eclipse.mylyn.doc.actionSet
Unable to find Action Set: org.eclipse.mylyn.tasks.ui.navigation
Unable to find Action Set: org.eclipse.wb.core.ui.actionset
Run Code Online (Sandbox Code Playgroud)
当我试图运行我的sdk管理器时显示错误:
Failed to run the Android SDK Manager. Check the Android Console View for details.
Run Code Online (Sandbox Code Playgroud)
有人可以帮忙吗?