Comments (6)
谢谢关注社区版surging, UseNLog配置已过时,可以通过添加引用和基于Rootpath扫描加载Surging.Core.Nlog引擎组件。如果是多种类型的日志组件,请基于surgingsetting 文件配置using 配置节,把NLogModule添加进去
"Packages": [
{
"TypeName": "EnginePartModule",
"Using": "${UseEngineParts}|ServiceProxyModule;ProtokollwandlerModule;DotNettyModule;NLogModule;ConsulModule;MessagePackModule;WSProtocolModule;MqttProtocolModule;EventBusRabbitMQModule;CachingModule;KestrelHttpModule;SwaggerModule;ApiGeteWayModule;SkywalkingModule;KestrelNLogModule;GrpcModule;ApolloModule;LiveStreamModule;"
}
]
'''
from surging.
谢谢关注社区版surging, UseNLog配置已过时,可以通过添加引用和基于Rootpath扫描加载Surging.Core.Nlog引擎组件。如果是多种类型的日志组件,请基于surgingsetting 文件配置using 配置节,把NLogModule添加进去
"Packages": [ { "TypeName": "EnginePartModule", "Using": "${UseEngineParts}|ServiceProxyModule;ProtokollwandlerModule;DotNettyModule;NLogModule;ConsulModule;MessagePackModule;WSProtocolModule;MqttProtocolModule;EventBusRabbitMQModule;CachingModule;KestrelHttpModule;SwaggerModule;ApiGeteWayModule;SkywalkingModule;KestrelNLogModule;GrpcModule;ApolloModule;LiveStreamModule;" } ] '''
谢谢,你能抽时间回复。
我这里也通过setting文件配置using配置节,启动的时候,也能加载,但,还是不能打印日志,也通过引用的方式把nlog引入进来,但服务里面还是不能打印日志,麻烦再看一下。谢谢!
from surging.
你的using 里有SerilogModule ,这样会造成日志组件冲突,还有需要注意的是,如果你引用了
Surging.Core.KestrelHttpServer 组件,就需要附加引用Surging.Core.Kestrel.Nlog, 还需要在配置节using中添加KestrelNLogModule
from surging.
你的using 里有SerilogModule ,这样会造成日志组件冲突,还有需要注意的是,如果你引用了
Surging.Core.KestrelHttpServer 组件,就需要附加引用Surging.Core.Kestrel.Nlog, 还需要在配置节using中添加KestrelNLogModule
你好,我去掉SerilogModule 模块,谢谢提醒,使用KestrelHttpServer,需要附件ketrel.Nlog模块。现在配置如下
日志在服务中依旧无法打印
from surging.
如果还有问题,我就不知道了,我这里没有问题,代码是从github下载的,几十家企业用户没有反应日志问题
from surging.
谢谢!已查找到未引用Protocol.WS服务
from surging.
Related Issues (20)
- hh
- 单服务热加载问题 HOT 3
- 用jmeter对sayhello做压力测试时,返回结果不一致,entity为1 HOT 1
- k8s
- k8s中单服务重发之后 提示如下 HOT 3
- The community version is the last version. HOT 3
- new feature Protokollwandler component will be updated in SurgingVista version
- 统计一下有多少人使用社区版 HOT 1
- Hot deployment modules and components
- 请问Surging 中使用的 WebSocketCore 的源码是这个地址吗 HOT 1
- server进程占用的内存一直增长,直到进程崩溃,是什么原因? HOT 11
- surgingSettings.json配置中的Consul 连接ConnectionString配置 HOT 1
- Surging.Core.KestrelHttpServer HOT 1
- 请求参数
- 开源**NCC介绍 HOT 4
- 使用serviceProxyProvider.Invoke调用接口内存持续增长 HOT 4
- TCP network components that support configuring properties
- 服务间通讯导致内存持续增加 HOT 5
- skywalking报错 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surging.