这可以通过以下方法做到,把来自各个应用程序的日志发送到不同的文件,或者在每个消息前面加上与应用程序相关的标记。
This can be achieved by sending the logs from each application to a different file, or by prefixing each message with a tag corresponding to the application.
利用包含所有输出消息的重定向日志文件来验证迁移结果。
Use the redirected log file containing all output messages to verify the migration result.
这个类提供一个非常简单的跟踪或日志机制,将跟踪消息写入当前目录中的一个文件中。
This class provides a very simple trace or logging mechanism that writes trace messages to a file in the current directory.
虽然向一个日志文件发送消息相当有用,但是很多时候您可能还想在发生不可恢复的异常时显示一个用户友好的错误消息。
Although sending messages to a log file can be quite useful, there are often times when you would also like to display a user-friendly error message in the event of an unrecoverable exception.
由于消息在传输到队列管理器之前得到加密,因此数据在内存、队列文件、日志和跟踪记录中受到保护。
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.
在此情况下,应用程序本身负责确保所有日志消息的格式正确(如上所述),并确保正确管理输出文件。
In that case, the application itself is responsible for ensuring that all log messages have the proper formatting, as suggested above, and for ensuring that the output files are properly managed.
在完成了相应的更改之后,使用有意义的更改日志消息再次签入该文件(请参见清单6)。
After you're done making changes, check the file back in with a meaningful change log message (see Listing 6).
有时,如果没有 正确输入补丁命令,在日志文件中也不会出现“fail”消息,但是补丁却不会得到应用。
Sometimes, if you enter the patch commands incorrectly, no "fail" messages appear in the log files, but the patches do not get applied.
如果您愿意,您可以不使用LOCAL,而从wrappers发送消息到具体的日志文件。
If you prefer, you can send messages from wrappers to a specific log file instead using local.
WebSphereMQFTE是WebSphere MQ的一个新版本,它可以设法实现安全可靠的文件传输,并能发布关于传输审计日志的消息。
WebSphere MQ FTE is a new edition of WebSphere MQ that manages secure and reliable file transfers, and publishes messages that provide an audit log of the transfers.
还学习了有关接管的行为以及接管过程中在WebSphereApplicationServer日志文件中记录的预期消息。
You also learned about the takeover behavior and the expected messages logged in the WebSphere Application Server log files during the takeover.
这是在日志文件中找到的每个元素的消息文本,简要描述了ApplicationAdvancementAssistant遇到的问题元素。
This is the message text that is found in the log file for each element, briefly describing the problem element that the Application Advancement Assistant encountered.
与Samba的分布式文件系统支持相关的日志消息。
Log messages relating to Samba's distributed file system support.
Domino服务器向控制台或日志文件报告错误消息吗?
Is the Domino server reporting error messages to the console or the log file?
JDBCCallable Statement用于执行存储的过程,将sql语句写入Derby的消息日志文件。
JDBC Callable statement to execute a stored procedure for writing SQL statements to Derby's message log file.
通常,这会通过电子邮件或直接记录关于某个主机被拒绝或被允许的消息到日志文件中。
Typically, this would be used to either email or log a message to a log file about a certain host (s) being denied or allowed. The basic format of the spawn option is.
在Kerberos日志和online . log文件中查找错误消息。
Look for error messages in the Kerberos log and online.log file.
然后这些内核日志消息会存储在 /var/log/kern.log(及其他配置的文件)。
The kernel log messages are then stored in /var/log/kern.log (among other configured files).
该日志文件是用于与onbar相关的所有消息的主要日志文件。
This is the primary logfile for any messages relating to onbar.
您可以创建自定义日志记录文件并向其中写入日志消息,但是为什么不使用已经提供给您的工具呢?
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?
国际化适配器日志和跟踪消息需要消息文件的使用来生成文本消息。
Internationalizing the adapter log and trace messages requires the usage of message files to generate text messages.
对于每个日志调用,都需要确定这条消息是否将发送到日志文件中。
For each logging call, we need to determine whether or not the message is to be sent to the log file.
在这种环境中保存日志消息的一种简单方法是将它们保存到主机特定的日志文件中。
A simple way to store log messages in this environment is to store them in their host-specific log files.
您可以只是将日志消息附加到恰当的文本文件,但是您必须得套用日志信息格式。
You could just append the log message to the correct text file, but you would have to duplicate the log information style.
通常,我们会使用LOGINFO来记录详细错误和其他信息消息,并会使用LOGGER将调试信息截获到日志文件中。
Generally, you will use LOGINFO to log detailed error and other informational messages. You will use LOGGER to capture your debug messages to the log file.
如果文件类型位显示文件与目录不匹配,那么数据库条目将失效并产生一个日志消息。
If the file type bits show a file and directory mismatch, the database entry is invalidated and a log message is produced.
默认的日志记录级别应该是WARN,它只在已经阻止了请求的情况下在日志文件中写消息。
The default log level should be WARN which will write a message to the log file only if a request has been blocked.
如果不是这种情况——换而言之,如果任何给定的请求都可以由多台机器进行处理——那么对不同日志文件中的日志消息进行分析就会变得更加困难。
If this is not the case — in other words, if any given request can potentially be handled by multiple machines — analyzing the log messages in different log files becomes more difficult.
在UNIX和与UNIX相似的系统上,日志文件仅仅是文本文件,相关联的服务器进程或系统日志记录守护进程在其中写入消息。
On UNIX and UNIX-like systems, log files are simply text files that are continually appended, either by the server processes that they are associated with or by system-logging daemons.
日志类型共分为两种:文本日志文件(包含简单的文本格式的消息和信息)和用二进制格式编码的文件。
Log types fall into two categories, text log files that contain messages and information in a simple text format, and files that are encoded in a binary format.
应用推荐