Change log

logbee.Backend 2.1.1

Release date: 17-05-2025

https://github.com/catalingavan/logbee-app/releases/tag/logbee.Backend-v2.1.1

Docker image: catalingavan/logbee.backend:2.1.1

This release is compatible with logbee.Frontend-v2.1.1 or newer versions.


Introduced Interceptors:

  • Interceptors are JavaScript functions that run before each request is logged.

  • Useful for filtering out unwanted or repetitive requests (e.g., health checks).

  • Interceptors receive a context object and a next() function.

  • If next() is called, the request is logged; otherwise, it’s skipped.

Interceptor JavaScript example

 function(context, next) {
   const statusCode = context.requestLog.httpProperties.response.httpStatusCode;
   const localPath = context.requestLog.httpProperties.url.path.toLowerCase();

   if (localPath === "/status/ping" && statusCode === 200) {
      // Skip logging successful health check requests
      return;
   }

   // Continue logging
   next();
}

logbee.Backend 2.0.0

Release date: 01-04-2025

https://github.com/catalingavan/logbee-app/releases/tag/logbee.Backend-v2.0.0

Docker image: catalingavan/logbee.backend:2.0.0


Improvements:

Configuration breaking changes:

  • Added required LogbeeBackendConfigurationFilePath configuration property.

{
    "LogbeeFrontendConfigurationFilePath": "../../logbee.frontend/Configuration/logbee.json"
}
  • "Files" property has been renamed to "FileStorage"

  • Added FileStorage.MongoDb configuration property which is required when FileStorage.Provider = "MongoDb"

{
    "FileStorage": {
        "Provider": "MongoDb",
        "MongoDb": {
           "ConnectionString": "mongodb://localhost:27017?socketTimeoutMS=5000&connectTimeoutMS=5000",
           "DatabaseName": "LogbeeBackend"
        }
    }
}

Configuration changes:

  • Removed the following properties:

{
    "LogbeeFrontendUrl": "http://logbee-frontend.your_domain.com",
    "LogbeeFrontend.BasicAuth.Password": "_LogBeeFrontend_authorization_password_",
    "LogbeeFrontend": {}
}

logbee.Backend 1.3.0

Release date: 29-10-2024

https://github.com/catalingavan/logbee-app/releases/tag/logbee.Backend-v1.3.0

Bug fixes

Fixes 405 Method Not Allowed when trying to delete captured application logs and data. https://stackoverflow.com/questions/4413455/why-does-http-delete-verb-return-405-error-method-not-allowed-for-my-restful-w

This bug prevented Logbee.Backend from deleting expiring logs and related metrics in certain scenarios, leading to indefinite database growth.

Improvements

  • Implemented support for OpenTelemetry integration.

  • Implemented automated job for deleting old local log files.

Breaking changes

Added OpenTelemetry (required) configuration option. logbee.json

{
   "OpenTelemetry": {
      "Trace": {
         "MaximumNumberOfSpansPerRequest": 100,
         "CreateTraceRateLimit": {
            "IsEnabled": true,
            "Limit": {
               "RequestLimit": 5,
               "IntervalInSeconds": 1
            }
         }
      },
      "Logs": {
         "MaximumNumberOfSpansPerRequest": 100,
         "CreateLogsRateLimit": {
            "IsEnabled": true,
            "Limit": {
               "RequestLimit": 5,
               "IntervalInSeconds": 1
            }
         }
      }
   }
}

Added additional (required) ApplicationSettings configuration options. logbee.json

{
   "ApplicationSettings": {
      "ProcessAsyncRequestLogs": {
         "MaximumDurationInMilliseconds": 5000,
         "TriggerIntervalInSeconds": 5,
         "Take": 50
      },
      "DeleteLocalLogFiles": {
         "CreatedMoreThanNDaysAgo": 3,
         "TriggerIntervalInHours": 6
      }
   }
}

For technical support, questions or any feedback, please feel free to send us a message and we will get back to you.