When using circular logging log file extents are reused once they no longer contain active log data.
使用循环日志记录时,当日志文件扩展不再包括活动数据日志时,会将其进行重新使用。
The log files themselves can grow very fast if you enable full logging on all the stored procedures.
如果对所有的存储过程都启用完整日志,那么日志文件本身可能会增长的非常快。
Although the first two command types perform no action within the kernel, the rest are used to read log messages or control aspects of logging.
虽然前面两个命令类型不会对内核进行任何操作,但是其余命令则是用于读取日志消息或控制日志。
The stand-alone example adds the log messages to an HTML logging pane.
这个单独的例子将日志消息添加到一个HTML日志窗格上。
Logging is faster - Performance with the logger is improved by asynchronous log writes.
日志记录速度更快—通过异步日志写操作提高日志记录器的性能。
If, however, logging is used for auditing purposes, missing log entries might not be tolerable, which leads to the second kind of logging: business critical logging.
然而,如果日志是用来审计,那么遗失日志记录将是不可接受的,这就要用到第二种类型的日志:关键业务日志。
A log can be reused in circular logging as long as it only contains information about transactions that have already been committed and externalized to the database disk.
只要日志中包含关于已经提交并外部化到数据库磁盘上的事务的信息,就可以以循环日志的形式重用该日志。
Should you desire to do an online backup (which you will explore later), log mode needs to be modified to archived logging.
如果要进行在线备份,那么需要将日志模式改为存档日志。
Before getting into specifics about what to log, let's set up the basics for logging.
在说明需要记录哪些信息的细节之前,让我们先来设置日志的基本信息。
With archive logging, if you don't move old log files from the active log directory, they will accumulate and share the directory with the active log files.
使用归档日志记录时,如果您没有把旧的日志文件从活动日志目录中移走,它们将累积起来,并与活动日志文件共享该目录。
Unfortunately, critical log messages — informational and business-critical logging — are seldom treated with care in today's systems.
不幸的是,在目前系统在,一些重要的日志消息,(可能是一般信息日志或关键业务日志),很少被认真处理。
Logging is typically used for noting important events that you want to track in your log files. Logging is used to indicate.
日志记录通常用于在日志文件中记录您希望跟踪的重要事件。
It also USES the log service (Logging) on the log service node, sending log messages with different atomicity levels.
它同样可以使用日志服务节点上的日志服务(Logging),发送不同事务原子级别的日志信息。
WebSphere Portal provides analytics logging by writing events to a dedicated log, similar to the logging for analyzing a server delivering static pages.
WebSpherePortal通过将事件写到专用日志来提供分析日志记录,类似于用于分析交付静态页面的服务器的日志记录机制。
To use this additional logging, append the keyword and the value to the log level parameter, separated by a colon (:).
要使用这些额外的日志记录,将关键字和值附加到日志级别参数,用冒号(:)分割。
You could create a custom logging file and write log messages to it, but why not use the tools that have already been provided for you?
您可以创建自定义日志记录文件并向其中写入日志消息,但是为什么不使用已经提供给您的工具呢?
Creation of the logging service so you can log inside the test methods.
日志记录服务的创建,以便您能够在测试方法中记录日志。
When using linear logging on the other hand log file extents will be continually allocated as required.
另一方面,使用线性日志记录时,将根据需要继续分配日志文件扩展。
Perhaps the most important choice you have to make about logging is to decide on a scheme that assigns each log message to a particular category.
关于日志,您要做的一个最重要的选择可能是确定一种模式,将每个日志消息分配给一个特定的类别。
Be sure to turn on TRACE logging and watch the log output, which reveals details of the application not discussed in the article.
一定要打开TRACE日志记录,查看日志输出,日志会揭示本文中没有讨论的应用程序细节。
The last thing we need to do in this add-on is to configure project logging and set up the log level to trace.
我们在该附加组件中需要做的最后一件事是配置项目日志,并设置要跟踪的日志级别。
A transaction runs and USES up all five primary log files but is still logging transactions.
事务正在运行,并用完所有五个主日志文件,但仍将记录事务。
Every component that used the logging service had to wait until the service acknowledged receipt of the log message.
每个使用登录服务的组件都必须等待直到服务通知收到了登录消息。
In contrast to circular logging, the archival logging process creates a new log file when the last log file is filled so that future transactions will not overwrite existing log files.
与循环日志记录相比,当最后一个日志文件写满时,归档日志记录过程会创建一个新的日志文件,这样将来的事务就不会覆盖现有的日志文件。
Large enterprise applications — like application servers, testing applications, or online systems with transactional logging — generate a huge number of log files.
大型企业应用程序——像应用服务器、测试应用程序或者带有事务性日志的在线系统——生成大量日志文件。
We wanted logging statements to go to a dedicated log file (or possibly multiple different files), perhaps with those log files rolled on a daily basis.
我们希望把记录语句输出到专门的日志文件中(如果可能的话,多个不同文件),也许可以每天覆盖日志。
Once you've chosen the logger and established the logging level, you can start building your log message.
一旦选定日志记录程序并建立起日志级别之后,就可以开始构建日志消息了。
This is called log retention logging.
这称为日志保留记录。
If a core file has been created, there should be an error log entry logged by the error-logging process, which is usually started when the first software failure occurs.
如果创建了核心文件,错误日志记录进程应该会记录一个错误日志项,这个进程常常在发生第一个软件故障时启动。
The logging server then persists all log messages that require atomicity or semi-atomicity.
然后日志服务器持久化所有事务原子性和半原子性的日志消息。
应用推荐