日志文件中的日期格式 PDI / Kitchen 4.0.1
继承了一组作业,文件系统的日志记录以格式 {SEV} MM-dd HH:MM:SS 开始,其中我需要将年份作为时间戳的一部分。
我能找到的唯一 log4j 配置是旧 Jasper 安装的一部分,并将它们修改为使用 log4j.appender.fileout.layout.conversionPattern=%d{yyyy-MM-dd} 而不是 ISO8601 作为测试似乎没有效果。
还可以在哪里定义日志行格式?
Inherited a set of jobs, and the logging to the filesystem begins with format {SEV} MM-dd HH:MM:SS, where I need to have the year as part of the timestamp.
The only log4j configs I can find are part of an old Jasper install, and modifying them to use log4j.appender.fileout.layout.conversionPattern=%d{yyyy-MM-dd} instead of ISO8601 as a test seems to have no effect.
Where else could the log line format be defined?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在数据集成4.2.1中:
In Data Integration 4.2.1: