The framework will create the necessary file and directories, as the logging framework will have the necessary permissions to create them.
这个框架将创建必需的文件和目录,因为日志框架具有创建这些目录和文件所需的权限。
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?
您可以创建自定义日志记录文件并向其中写入日志消息,但是为什么不使用已经提供给您的工具呢?
By separating these, we intended to reduce the performance impact of logging queries of the file database; they are not merely separate tables, but two separate databases.
这么做是为了减少记录文件数据库查询所带来的性能影响;它们不但是单独的表,而且还是两个单独的数据库。
If this value is set to 0, all logging is saved in the same file, regardless of the date.
如果将该值设置为0,则所有日志记录都保存在同一个文件中,与日期无关。
This class provides a very simple trace or logging mechanism that writes trace messages to a file in the current directory.
这个类提供一个非常简单的跟踪或日志机制,将跟踪消息写入当前目录中的一个文件中。
In this file, you define the logging handlers to be used and their default logging level.
在该文件内,您将定义要使用的日志处理器和它们的默认日志级别。
When using linear logging on the other hand log file extents will be continually allocated as required.
另一方面,使用线性日志记录时,将根据需要继续分配日志文件扩展。
It seems you are trying to load your logging configuration directly from the file system.
似乎您在尝试直接从文件系统加载您的日志配置。
This file is critical for customizing your logging environment, so the first thing you need to do is add it back to the project.
这个文件对于定制日志环境至关重要,因此首先要做的是将它添加回项目中。
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.
经常碰到的问题是,对每个应用程序使用单独的日志文件比较可取,还是将所有应用程序的日志记录合并到单一的输出文件中比较可取。
A ring buffer makes logging efficient by using memory operations in place of file operations.
通过使用内存操作代替文件操作,循环缓冲区使得日志记录的效率更高。
A ring buffer provides the following advantages over the traditional file logging mechanism.
与传统的文件日志记录机制相比,循环缓冲区提供了下列优势。
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 standard logging file shows dropped packets and successful inbound and outbound connections.
标准的日志文件显示了丢弃的数据包和成功的入站出站连接。
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.
我们希望把记录语句输出到专门的日志文件中(如果可能的话,多个不同文件),也许可以每天覆盖日志。
The logging framework can be used for logging informational and debug messages to a log file, and performance measurement.
日志框架可以用来将日志信息和调试信息记录到日志文件中,并进行一些性能方面的评测。
When LOG_SPLIT is set to n, the logging framework logs all statements to the log file sp.log.
当将LOG_SPLIT设置为n时,日志框架就会将所有的语句全部记录到日志文件sp .log中。
There are several more settings you can alter, such as the logging format and output file names, but those are not central to this discussion.
还可以修改更多的设置,比如日志格式和输出文件名,但是这些不是讨论的重点。
As you can see, simply by adding an additional disk for the log file directory and turning on transaction logging, you can realize an immediate performance improvement!
可以看到,只需要添加一个磁盘用于日志文件并启用事务日志,您就可以立即实现性能改进!
If you choose to do that, consider turning off JFS logging on your new file system before you start copying to it.
如果这样做,需要在新文件系统上关闭JFS日志,然后才能开始复制。
The logging data storage can be file-based or database-based, subject to requirements.
根据需求,日志数据存储可以基于文件,也可以基于数据库。
When using circular logging log file extents are reused once they no longer contain active log data.
使用循环日志记录时,当日志文件扩展不再包括活动数据日志时,会将其进行重新使用。
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.
这将产生更有效率的日志文件I/O,因为使用日志文件 I/O 的次数比较少,而每次使用日志文件 I/O 时所写的日志记录比较多。
After logging on, a directory was created and an input file for a message flow was copied.
登录以后,创建一个目录并复制用于消息流的输入文件。
Journaling is the process of logging changes to the file system through a journal (which is a dedicated circular log on a contiguous region of the disk).
日志记录就是通过日记(磁盘上相邻区域的专门循环记录)记录文件系统的变更的过程。
From the line Numbers (next to the name of the source file the logging is coming from) you can see how things progress through the client and both EJB components.
根据行号(在日志所来自的文件的名称后面),您可以看到各种情况是如何从客户机到两个EJB组件的过程中发生的。
The Business Events connectors component has separate logging and generates information to the log file Connectors.log.
BusinessEvents连接器组件使用单独的日志记录,在日志文件Connectors . log中生成信息。
You can add logging to a file by attaching a Handler to the LogManager, as shown in Listing 5.
可以通过为LogManager 附加一个Handler将日志记录添加到文件,如清单 5 所示。
To remove the TESTSP logging token from Shared memory and from the configuration file.
要将TESTSP日志标记从共享内存和配置文件中删除。
The DB2.UPDATE_SP_CONFIG stored procedure updates the Shared memory and writes all logging tokens to a configuration file.
UPDATE_SP_CONFIG存储过程对共享内存进行更新,并将所有的日志标记写入一个配置文件中。
应用推荐