Change log

logBee.Frontend 1.1.2

Release date: 09-07-2024

https://github.com/catalingavan/logBee-app/releases/tag/logBee.Frontend-v1.1.2

Implemented date-time plugin selector for table filters.

date-time plugin selector

Migrating from the legacy KissLog.Frontend

If you are currently using the legacy KissLog.Frontend application, upgrading to the new logBee.Frontend application will bring breaking changes to both configuration file and to the database schema.

For the configuration file (KissLog.json -> logBee.json) it is best to use the new configuration file and update the properties with your settings.

logBee.Frontend is now using a new database schema incompatible with the previous KissLog.Frontend application.

To migrate the existing data, please follow these steps:

  1. In the logBee.Frontend application, update your database connection string to a new database name, different than the database name used in KissLog.Frontend.

  2. Run the logBee.Frontend application for the first time, which will create the empty database (with the new schema).

  3. Copy the existing data from the old database to the new database, using the following script (MySql language):

INSERT INTO `<NEW_DATABASE>`.`application`
(`Id`,`Organization_Id`,`Name`,`CreatedAt`)
SELECT `Id`, `Organization_Id`, `Name`, `DateTimeCreated`
FROM `<OLD_DATABASE>`.`application`
WHERE `Id` NOT IN (SELECT `Id` from `NEW_DATABASE`.`application`)


INSERT INTO `<NEW_DATABASE>`.`organization`
(`Id`,`Name`,`CreatedAt`)
SELECT `Id`, `Name`, `DateTimeCreated`
FROM `<OLD_DATABASE>`.`organization`
WHERE `Id` NOT IN (SELECT `Id` from `<NEW_DATABASE>`.`organization`)


INSERT INTO `<NEW_DATABASE>`.`organizationalert`
(`Id`,
`Organization_Id`,
`Name`,
`Description`,
`JavascriptCode`,
`ThrottleInSeconds`,
`CreatedAt`,
`IsEnabled`,
`AppliesToAllApplications`,
`EmailNotificationJson`,
`SlackNotificationJson`,
`MicrosoftTeamsNotificationJson`)
SELECT
`Id`,
`Organization_Id`,
`Name`,
`Description`,
`JavascriptCode`,
`ThrottleInSeconds`,
`DateTimeCreated`,
`IsActive`,
1,
REPLACE(REPLACE(`EmailNotification`, '"IsActive"', '"IsEnabled"'), '"Emails"', '"SendTo"'),
REPLACE(`SlackNotification`, '"IsActive"', '"IsEnabled"'),
REPLACE(`MicrosoftTeamsNotification`, '"IsActive"', '"IsEnabled"')
FROM `<OLD_DATABASE>`.`alert`
WHERE `Id` NOT IN (SELECT `Id` from `<NEW_DATABASE>`.`organizationalert`)

If you need assistance, please feel free to reach out and I will happily help with the migration.


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