每个日志记录程序都可以配置自己的优先级和输出处理程序。
Each of these loggers can be configured with its own priority and output handler.
一旦选定日志记录程序并建立起日志级别之后,就可以开始构建日志消息了。
Once you've chosen the logger and established the logging level, you can start building your log message.
例如,安全性日志记录程序可以在将日志写入目的地之前对消息进行加密。
For example, the security logger can encrypt a message before it is written to the destination.
如果这个数字较大,则提醒审计日志记录程序没有足够的时间进行处理,队列过大。
If this number were large, it would suggest that the audit logger was not getting enough time to work and the queue was allowed to build up.
或者你可以两者都做,日志记录程序访问这两个日志分析和更可读的格式到另一个日志。
Or you can do both, logging accesses to both a log for a program to analyze and to another log in a more human-readable format.
为了避免这个问题,应用程序应该具有一组专用的日志记录程序,它们都进行了独特的分类,如清单3所示。
To avoid this problem, an application should have a set of specialized loggers with distinct categories, as Listing 3 illustrates.
持续的日志记录可能会填满系统中的空间,从而导致其他程序也耗尽空间并且执行失败。
Continuous logging can fill up space on the systems, causing other programs to also run out of space and fail.
在访问一个公共的资源时,同步始终是多线程程序不可缺少的部分,日志记录也不例外。
Synchronization has always been an indispensable part of multi-threaded programs while accessing a common resource, and logging is no exception.
使用消息日志程序记录数据对象以便审计消息流。
Log data objects using the message logger to audit a message flow.
并且这适用于需要进行日志记录的任何程序。
AIX提供的auditselect实用程序可以从审计日志中选择事件记录。
AIX provides the auditselect utility to select event records from the audit log.
处理程序可以处理加密和解密、日志记录和审计等。
Handlers can manage encryption and decryption, logging and auditing, and so on.
循环缓冲区是一种用于应用程序的日志记录技术,它可以将相关的数据保存在内存中,而不是每次都将其写入到磁盘上的文件中。
A ring buffer is a logging technique for applications whereby the relevant data to be logged is kept in memory instead of writing it to a file on a disk every time.
现在我们想将日志记录添加到这个应用程序的标准输出。
Now we want to add logging to standard output to this application.
一定要打开TRACE日志记录,查看日志输出,日志会揭示本文中没有讨论的应用程序细节。
Be sure to turn on TRACE logging and watch the log output, which reveals details of the application not discussed in the article.
您可能想尝试找出某个特定应用程序将日志数据记录到何处,或者正在跟踪某个问题。
You might be trying to find out where a particular application is logging data to, or you might be tracking down a problem.
如果想在调试应用程序或日志文件中记录信息,这样处理是非常合适的。
If you want to log a message to a debugging application or log file, that's suitable.
经常碰到的问题是,对每个应用程序使用单独的日志文件比较可取,还是将所有应用程序的日志记录合并到单一的输出文件中比较可取。
The question is often asked whether it is preferable to use a separate log file for each application, or to combine the logging from all applications into a single output file.
DB2数据库服务器必须执行许多不同的任务,比如处理数据库应用程序请求或确保把日志记录写到磁盘上。
The DB2 database server must perform many different tasks, such as processing database application requests or ensuring that log records are written out to disk.
例如,如果您需要捕获大量用户行为,您最终可能会向您的应用程序添加大量日志记录语句。
For example, if you need to capture a lot of user behavior, then you could wind up adding a lot of logging statements to your application.
出于性能原因,无论使用哪种机制,在构建实际日志消息之前,应对应用程序进行编码,首先检查是否启用给定的日志记录级别。
For performance reasons, whichever mechanism is used, the application should be coded to first check if a given level of logging is enabled before constructing the actual log messages.
日志记录代码与应用程序的主要目的无关,并且它还有可能对代码产生很大干扰。
The logging code is irrelevant to the main purpose of the application, and it can also be very intrusive in the code.
如果想生成用于分析的日志,必须对应用程序启用详细的gc日志记录。
You must enable verbose GC logging for your application if you want to produce logs for analysis.
连网改进:提供SIP全程通信流度量和日志记录,提供新的通信协议解析器实用程序。
Networking enhancements: the ability to provide SIP end-to-end traffic measurements and logging, and new communication protocol parser utilities.
此外,如果您使用数据复制,CAPTURE程序可以将日志中所记录的更新写到更改表。
In addition, if you are using data replication, the CAPTURE program can write the updates recorded in the logs to the change table.
此类“应用程序”的例子包括路由和转换服务、日志记录服务等等。
Examples of such "applications" would include routing and transformation services, logging services etc.
应用程序日志记录提供了捕获在应用程序执行期间发生的各种事件的方法。
Application logging provides ways to capture various events happening in the execution of an application.
日志记录是构成出色错误处理应用程序的重要部分。
Logging is a vital part of a good error handling application.
日志记录提供了故障前应用程序状态的详细信息,如变量的值、函数的返回值等等。
Logging provides the maximum amount of detail of the application state before the failure, such as value of variables, return value of functions, and so on.
新版本的重分发实用程序使用小型日志记录模型和页级数据移动(见 1.1小节中的解释)。
The new version of the redistribute utility uses the minimum logging model and page-level data movement (as explained in section 1.1).
应用推荐