Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Logging Worklight-将应用程序日志发送到特定日志文件_Logging_Websphere_Ibm Mobilefirst - Fatal编程技术网

Logging Worklight-将应用程序日志发送到特定日志文件

Logging Worklight-将应用程序日志发送到特定日志文件,logging,websphere,ibm-mobilefirst,Logging,Websphere,Ibm Mobilefirst,我们在生产服务器(App1-App2)上运行两个混合应用程序 我们定义了两个日志级别: WL.Logger.debug:如果我们需要跟踪用户交互以调试记录到trace.log的任何错误,则用于记录应用程序的请求和响应 `WL.Logger.error>>>>>> App1_Error.log` WL.Logger.error:用于记录应用程序上可能发生的错误,该应用程序用于登录到SystemOut.log `WL.Logger.error>>&g

我们在生产服务器(App1-App2)上运行两个混合应用程序

我们定义了两个日志级别:

WL.Logger.debug
:如果我们需要跟踪用户交互以调试记录到
trace.log的任何错误,则用于记录应用程序的请求和响应

`WL.Logger.error>>>>>> App1_Error.log`
WL.Logger.error
:用于记录应用程序上可能发生的错误,该应用程序用于登录到
SystemOut.log

`WL.Logger.error>>>>>> App1_Error.log`
我们需要设置什么配置来为每个应用程序设置特定的文件日志记录?它是否适用

比如:

App1:
WL.Logger.debug>>>>>>App1\u debug.log

`WL.Logger.error>>>>>> App1_Error.log`
App2也是如此


WL 6.2.0.1版

从Worklight的角度来看,我只能说Worklight没有也不能为您提供生成不同日志文件的能力。这是您正在使用的底层应用程序服务器(WebSphere)的一项功能(或者可能是不存在的功能)。

从Worklight的角度来看,我只能说Worklight没有也不能为您提供生成不同的日志文件的能力。这是您正在使用的底层应用服务器(WebSphere)的一个特性(或者可能是不存在的特性)