NLog.Targets.Fluents is a custom target of NLog that emits the log entries to a fluentd node.
Setting | Description | Default |
---|---|---|
Host | Host name of the fluentd node | 127.0.0.1 |
Port | Port number of the fluentd node | 24224 |
Tag | Fluentd tag name | caller assembly name |
NoDelay | Send log even if buffer is not full | false |
SendBufferSize | Send buffer size | 8192 |
SendTimeout | Send timeout | 1000 |
LingerEnabled | Wait for all the data to be sent when closing the connection | true |
LingerTime | Linger timeout | 1000 |
EmitStackTraceWhenAvailable | Emit a stacktrace for every log entry when available (May be pretty big, especially with Web app since it includes nlog stack) | false |
IncludeAllProperties | Include structured logging parameters for every log entry | false |
IncludeCallerInfo | Include caller information (caller class name, member name, filepath and linenumber) | false |
ExcludeProperties | Comma separated string with names which properties to exclude. Only used when IncludeAllProperties is true. | empty (ex: prop1, pro2) |
NLog.Targets.Fluentd
Copyright (c) 2014 Moriyoshi Koizumi and contributors.
This software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.