Author Topic: Auto Log Rotation  (Read 711 times)

Offline Coldblackice

  • Member++
  • ****
  • Posts: 121
  • Gender: Female
Auto Log Rotation
« on: February 25, 2021, 08:35:21 PM »
Would it be possible to get an auto log-rotation function, which saves logs to CSV in intervals? I can see in the log output folder that the ability is already there, albeit in non-CSV format.

This would be helpful as there are times when I look back in the log and investigate something anomalous, it's helpful to be able to see what other system actions/launches/terminations happened around that same time.

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1789
  • Gender: Male
Re: Auto Log Rotation
« Reply #1 on: February 26, 2021, 08:52:17 AM »
Would it be possible to get an auto log-rotation function, which saves logs to CSV in intervals? I can see in the log output folder that the ability is already there, albeit in non-CSV format.

This would be helpful as there are times when I look back in the log and investigate something anomalous, it's helpful to be able to see what other system actions/launches/terminations happened around that same time.
Did you know all those log entries are now in CSV format (processlasso.log.0 - processlasso.log.9).

Also, there is a new sampling log data that can run at X intervals (options>log settings>configure sampling), but it is more of a process list info than action log data (no action data).
« Last Edit: February 26, 2021, 01:36:32 PM by edkiefer »
Bitsum QA Engineer

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Auto Log Rotation
« Reply #2 on: February 26, 2021, 01:23:58 PM »
As of v10 (now in beta), the logs are all CSV.

There are also some new registry settings to control the rotation rate and depth, which I'll document soon.

This should allow for what you want.

I invite you to try it if you feel adventurous. I always appreciate your feedback.

Currently, the v10 release is scheduled for a couple weeks.
Software Engineer. Bitsum LLC.

Offline Coldblackice

  • Member++
  • ****
  • Posts: 121
  • Gender: Female
Re: Auto Log Rotation
« Reply #3 on: May 28, 2021, 03:16:19 AM »
As of v10 (now in beta), the logs are all CSV.

There are also some new registry settings to control the rotation rate and depth, which I'll document soon.

This should allow for what you want.

I invite you to try it if you feel adventurous. I always appreciate your feedback.

Currently, the v10 release is scheduled for a couple weeks.
I totally spaced seeing these responses. Awesome, thank you. And yes, I've been enjoying using the betas, and would be happy to experiment with those additional registry options if possible. Are those documented somewhere?

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Auto Log Rotation
« Reply #4 on: May 28, 2021, 04:15:53 AM »
Only one ended up making it to the release build:

Path: HKLM\Software\ProcessLasso
Value: MaxLogFileSize
Type: DWORD
Desc: Max log file size in bytes before rotation occurs.

Software Engineer. Bitsum LLC.

Offline Coldblackice

  • Member++
  • ****
  • Posts: 121
  • Gender: Female
Re: Auto Log Rotation
« Reply #5 on: June 18, 2021, 02:04:12 AM »
Awesome, thanks. Please let us know if/when you add more!