Skip to content

Shrink and merge LogCenter database files created with FRITZBox-SynologyLogCenterDaemon

License

Notifications You must be signed in to change notification settings

biocoder-frodo/LogCenterDbRewrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogCenterDbRewrite

Shrink and merge LogCenter database files created with FRITZBox-SynologyLogCenterDaemon

If you have left FRITZBox-SynologyLogCenterDaemon running for a long time, you may find that the database has grown very large and that some sections of logs are repeated over and over again.

This offline tool lets you reprocess the database so that

  • duplicate entries are removed
  • startup events with a timestamp in 2070 are adjusted to the time of recording
  • repeated events are trimmed, only the last occurence will appear in the database

How to use the tool

  • Disable the port receiving the syslog packets in LogCenter, this will close the database.
  • Download/copy the database
  • Reprocess the file(s)
  • Copy the reprocessed file onto the existing database file using elevated privileges (sudo)
  • Enable the port receiving syslog packets in LogCenter.

Reprocessing

Run LogCenterRewrite by giving it at least one input database to work with:

.\LogCenterDbRewrite.exe --?
Usage : ./LogCenterRewrite [[database] database2 ....] options
Options:
dlh, dsl-link-history           Exports the link speed history of your DSL connection.

About

Shrink and merge LogCenter database files created with FRITZBox-SynologyLogCenterDaemon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages