为什么不使用更复杂的日志记录机制来跟踪哪些文件已经上传,以及何时上传?
Why not use a more sophisticated logging mechanism to keep track of which files have been uploaded and when?
如果想在调试应用程序或日志文件中记录信息,这样处理是非常合适的。
If you want to log a message to a debugging application or log file, that's suitable.
这就产生了一个尖锐的问题,即日志文件记录所有租户事件,无法容易地把单个租户的信息剪裁出来。
This gives rise to an acute prob-lem: log files record all tenant events and can't easily be pruned for a single tenant.
当将LOG_SPLIT设置为n时,日志框架就会将所有的语句全部记录到日志文件sp .log中。
When LOG_SPLIT is set to n, the logging framework logs all statements to the log file sp.log.
一个样例日志记录属性文件在本文中提供。
A sample logging properties file is supplied with this article.
压缩比是从单个产品的日志文件标记录出来的。
The compression ratios were noted from individual products' log files.
与循环日志记录相比,当最后一个日志文件写满时,归档日志记录过程会创建一个新的日志文件,这样将来的事务就不会覆盖现有的日志文件。
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.
与传统的文件日志记录机制相比,循环缓冲区提供了下列优势。
A ring buffer provides the following advantages over the traditional file logging mechanism.
总之,日志文件系统就是一种具有故障恢复能力的文件系统,它利用日志来记录尚未提交到文件系统的修改,以防止元数据破坏(请参见图1)。
To sum up, journaling file systems are fault-resilient file systems that use a journal to log changes before they're committed to the file system to avoid metadata corruption (see Figure 1).
记录上载文件的日志。
用于记录事务的文件叫作事务日志。
The files used to log the transactions are called the transaction logs.
在这种情况下,数据库管理器会删除logpath目录中的所有日志文件(包括联机归档日志文件),分配新的活动日志文件,并且回复到循环日志记录。
In this situation, the database manager deletes all log files in the logpath directory (including online archive log files), allocates new active log files, and reverts to circular logging.
在这种情况下,数据库管理器会删除logpath目录中的所有日志文件(包括联机归档日志文件),分配新的活动日志文件,并且回复到循环日志记录。
In this case, the database manager deletes all log files in the logpath directory (including online archive log files), allocates new active log files, and reverts to circular logging.
要记录到watchit日志文件,使用:(来自 watchit类)
To log to the watchit log file use: (from the watchit class)
services - config . xml:引用其他配置文件且提供安全约束、通道和日志记录的顶级配置文件。
Services-config.xml: the top-level configuration file that references the other configuration files and also provides security constraints, channels, and logging.
可以使用此设置控制SystemOut . log文件的日志记录级别。
The logging level of the SystemOut.log file can be controlled with this setting.
Google分析将日志文件记录中的每个片段放入被称为字段的数据元素当中。
Google Analytics turns each piece of data in the logfile record into a data element called a field. Later, the fields will be transformed into dimensions.
您可以创建自定义日志记录文件并向其中写入日志消息,但是为什么不使用已经提供给您的工具呢?
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?
在日志记录被写入日志文件之前,它们首先会被写到缓冲区。
Before log files are written to the log files, they are first written into buffers.
即使有些端口现在没有使用,审计子系统可以用来查找已经使用了哪些端口(在审计日志文件记录的时间范围内)。
The audit subsystem can be used to find out which ports have been used (for the duration of the audit log files) even if they are not currently in use.
如果创建了核心文件,错误日志记录进程应该会记录一个错误日志项,这个进程常常在发生第一个软件故障时启动。
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.
可以使用这个日志服务设置优先性,最终如图2所示在指定的日志文件中记录相应条目。
You can use the log service to set priority and, finally, make the entry into the designated log file as shown in Figure 2.
事务正在运行,并用完所有五个主日志文件,但仍将记录事务。
A transaction runs and USES up all five primary log files but is still logging transactions.
您可能会希望将自己的消息也记录到日志文件。
由于消息在传输到队列管理器之前得到加密,因此数据在内存、队列文件、日志和跟踪记录中受到保护。
Because the messages are encrypted before they are passed to the queue manager, the data is protected in memory, in the queue files, in logs, and in traces.
这是很好的安排,因为JBD是作为一个单独的、一般实体而开发的,将来它可以用于向其它文件系统添加日志记录能力。
It's quite a nice arrangement, and because the JBD is being developed as a separate, generic entity, it could be used to add journaling capabilities to other filesystems in the future.
日志框架可以用来将日志信息和调试信息记录到日志文件中,并进行一些性能方面的评测。
The logging framework can be used for logging informational and debug messages to a log file, and performance measurement.
值0表示禁止记录到日志文件中。
上述示例创建了一些日志文件,这些日志文件记录了更改之前和之后的文件权限。
These examples create log files that record the file permissions before and after the change.
这将产生更有效率的日志文件I/O,因为使用日志文件 I/O 的次数比较少,而每次使用日志文件 I/O 时所写的日志记录比较多。
This will result in more efficient logging file I/O because it will occur less frequently and write more log records each time it does occur.
应用推荐