File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,7 @@ protected void EnsureConnected()
246
246
247
247
private void ConnectClient ( )
248
248
{
249
+ NLog . Common . InternalLogger . Debug ( "Fluentd Connecting to {0}:{1}" , this . Host , this . Port ) ;
249
250
this . client . Connect ( this . Host , this . Port ) ;
250
251
this . stream = this . client . GetStream ( ) ;
251
252
this . emitter = new FluentdEmitter ( this . stream ) ;
@@ -344,7 +345,7 @@ protected override void Write(LogEventInfo logEvent)
344
345
345
346
private static object SerializePropertyValue ( string propertyKey , object propertyValue )
346
347
{
347
- if ( propertyValue == null || Convert . GetTypeCode ( propertyValue ) != TypeCode . Object || propertyValue is decimal )
348
+ if ( propertyValue == null || Convert . GetTypeCode ( propertyValue ) != TypeCode . Object )
348
349
{
349
350
return propertyValue ; // immutable
350
351
}
You can’t perform that action at this time.
0 commit comments