LogViewer NLog, Log4Net, Log4j 文本日志可视化

LogViewer 下载

示例:NLog文本日志可视化软件,并且能够实时监听输出最新的日志

nlog.config

通过udp方式传输给LogViewer (udp://ip:port)

XML 复制代码
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true"
      throwExceptions="true"
      internalLogFile="c:\temp\console-example-internal.log"
      internalLogLevel="Info">
 <targets async="true">
  <target name="log4view" xsi:type="NLogVIewer" address="udp://10.200.200.175:7071"/>
 </targets>
 <rules>
  <logger name="*" minlevel="Trace" writeTo="log4view"></logger>
 </rules>
</nlog>

LogViewer 配置udp接收端口号

相关推荐
haonuy*2 天前
Log4j CVE-2021-44228 漏洞复现详细教程
log4j·教程·漏洞复现·cve-2021-44228
XF小冯4 天前
Log4j2漏洞vul-hub通关教程
log4j
sevevty-seven10 天前
Redis 事务错误处理机制与开发应对策略
数据库·redis·log4j
Ziegler Han11 天前
Java的Gradle项目,使用SLF4J+Log4j2+log4j2.xml
java·log4j·slf4j
杨DaB11 天前
【项目实践】SMBMS(Javaweb版)汇总版
学习·spring·servlet·log4j
fire-flyer11 天前
Spring Boot 源码解析之 Logging
java·spring boot·spring·log4j·logging
allenXer11 天前
Spring Boot测试全景指南:JUnit 5 + Testcontainers实现单元与集成测试
spring boot·微服务·log4j
hqxstudying21 天前
java依赖注入方法
java·spring·log4j·ioc·依赖
新world21 天前
mybatis-plus从入门到入土(二):单元测试
单元测试·log4j·mybatis
编程乐学(Arfan开发工程师)1 个月前
73、单元测试-断言机制
服务器·数据库·servlet·单元测试·sqlite·log4j·mybatis